Last active
August 4, 2017 08:37
-
-
Save ernestofreyreg/c0ec7eb37538f4708d8e9dd188c0ee64 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| import { storiesOf } from '@storybook/react' | |
| import { action } from '@storybook/addon-actions' | |
| import { linkTo } from '@storybook/addon-links' | |
| import {Button} from '../src/index' | |
| storiesOf('Button', module) | |
| .add('simple text', () => <Button title='Hello Button' onClick={action('clicked Hello Button')} />) | |
| .add('with some emoji', () => <Button title='π π π π―' onClick={action('clicked Emojis')} />) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment