mirror of
https://github.com/yldio/copilot.git
synced 2025-01-09 18:40:12 +02:00
15 lines
439 B
JavaScript
15 lines
439 B
JavaScript
|
import React from 'react';
|
||
|
import { storiesOf, action, linkTo } from '@kadira/storybook';
|
||
|
import Button from '../button';
|
||
|
|
||
|
storiesOf('Button', module)
|
||
|
.add('with text', () => (
|
||
|
<Button onClick={action('clicked')}>Hello Button</Button>
|
||
|
))
|
||
|
.add('with some emoji', () => (
|
||
|
<Button onClick={action('clicked')}>😀 😎 👍 💯</Button>
|
||
|
))
|
||
|
.add('secondary', () => (
|
||
|
<Button secondary={true}>Hello Button</Button>
|
||
|
));
|