import React from 'react'; import { storiesOf } from '@storybook/react'; import { boolean } from '@storybook/addon-knobs'; import Radio, { RadioGroup } from './index'; import BaseApp from '../BaseApp'; const options = ['wallet', 'cash']; storiesOf('Components/Radio', module) .add('Basic', () => (
Radio 1
)) .add('RadioGroup', () => (

Default

{RadioButton => options.map(option => ( {option} )) }

List

{RadioButton => options.map(option => ( {option} )) }

Button

{RadioButton => options.map(option => ( {option} )) }

Disabled

{RadioButton => options.map(option => ( {option} )) }
));