1 | import React from 'react';
|
2 | import { Button, Modal } from '../../src';
|
3 |
|
4 | import { storiesOf, action, linkTo } from '@kadira/storybook';
|
5 | const addWithInfoOptions = { inline: true, propTables: false };
|
6 | storiesOf('按钮', module)
|
7 | .addWithInfo(
|
8 | '按钮样式',
|
9 | () => (
|
10 | <Button type="primary" onClick={action('clicked')}>点击我</Button>
|
11 | ), addWithInfoOptions)
|
12 |
|