UNPKG

@roo-ui/components

Version:

13 lines 585 B
import React from 'react'; import { storiesOf } from '@storybook/react'; import { withDocs } from 'storybook-readme'; import { boolean, select } from '@storybook/addon-knobs/react'; import OutlineButton from './OutlineButton'; import README from './README.md'; storiesOf('Components|OutlineButton', module).addDecorator(withDocs(README)).add('default', function () { return React.createElement(OutlineButton, { variant: select('Variant', ['default', 'primary'], 'default'), rounded: boolean('Rounded', false), disabled: boolean('Disabled', false) }, "Hello world"); });