1
0
mirror of https://github.com/yldio/copilot.git synced 2025-01-09 18:40:12 +02:00
copilot/spikes/css/aphrodite/src/stories/index.js

15 lines
439 B
JavaScript
Raw Normal View History

2016-10-19 02:05:32 +03:00
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>
));