import React, { Fragment } from 'react'; import { storiesOf } from '@storybook/react'; import { Typography, Form } from '@storybook/components'; import BaseButton from '../components/BaseButton'; import DelayedRender from '../components/DelayedRender'; import Button from '../components/addon-a11y/Button'; const text = 'Testing the a11y addon'; const image = 'http://placehold.it/350x150'; // eslint-disable-next-line no-script-url const href = 'javascript:void 0'; storiesOf('Addons|A11y/BaseButton', module) .addParameters({ options: { selectedPanel: 'storybook/a11y/panel' } }) .add('Default', () => ) .add('Label', () => ) .add('Disabled', () => ) .add('Invalid contrast', () => ( // FIXME: has no effect on score )) .add('delayed render', () => ( )); storiesOf('Addons|A11y/Button', module) .addParameters({ options: { selectedPanel: 'storybook/a11y/panel' } }) .add('Default', () =>