@roo-ui/components
Version:
20 lines (17 loc) • 559 B
JavaScript
import React from 'react';
import { storiesOf } from '@storybook/react';
import { withDocs } from 'storybook-readme';
import { boolean } from '@storybook/addon-knobs/react';
import OutlineButton from './OutlineButton';
import README from './README.md';
storiesOf('Components|OutlineButton', module)
.addDecorator(withDocs(README))
.add('default', () => (
<OutlineButton
primary={boolean('Primary', false)}
rounded={boolean('Rounded', false)}
disabled={boolean('Disabled', false)}
>
Hello world
</OutlineButton>
));