import * as React from 'react'; import { storiesOf } from '@storybook/react'; import { wInfo } from '@utils/wInfo'; import Button from '.'; const primaryButton = () => { return wInfo(` ### Usage ~~~js ~~~`)(() => ( )); }; const primaryReversedButton = () => { return wInfo(` ### Usage ~~~js ~~~`)(() => ( )); }; const secondaryButton = () => { return wInfo(` ### Usage ~~~js ~~~`)(() => ( )); }; const secondaryReversedButton = () => { return wInfo(` ### Usage ~~~js ~~~`)(() => ( )); }; const primaryRCCButton = () => { return wInfo(` ### Usage ~~~js ~~~`)(() => ( )); }; const secondaryRCCButton = () => { return wInfo(` ### Usage ~~~js ~~~`)(() => ( )); }; (storiesOf('Button', module) as any) .addParameters({ jest: ['Components/AtomicButton'] }) .addWithJSX('Primary', primaryButton()) .addWithJSX('Primary Reversed', primaryReversedButton()) .addWithJSX('Secondary', secondaryButton()) .addWithJSX('Secondary Reversed', secondaryReversedButton()) .addWithJSX('RCC Primary', primaryRCCButton()) .addWithJSX('RCC Secondary', secondaryRCCButton());