Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { storiesOf } from '@kadira/storybook'
import { Button } from 'uikit-react'
// This is to work around: https://github.com/kadirahq/react-storybook-addon-info/issues/26#issuecomment-229029177
Button.displayName = 'Button'
storiesOf('Button', module)
.addWithInfo('Basic Usage', '', () => (
<div>
<button>Primary</button>
<button>Success</button>
<button>Danger</button>
<button>Link</button>
<button type="submit">Submit</button>
</div>
), { header: false, inline: true, propTables: [Button] })