src/stories/nrn/a11y/example.stories.tsx
import { Meta } from '@storybook/react/types-6-0';
import React from 'react';
export default {
title: 'Next Right Now/A11y/Button (default example)',
parameters: {
controls: {
hideNoControlsWarning: true,
},
},
} as Meta;
export const accessible = (): JSX.Element => <button>Accessible button</button>;
export const inaccessible = (): JSX.Element => (
<button
style={{
backgroundColor: 'red',
color: 'darkRed',
}}
>Inaccessible button</button>
);