dh-c
Version:
The front-end development engineers jimberton gulp react component
13 lines (10 loc) • 375 B
JavaScript
import React from 'react';
import { Button, Modal } from '../../src';
import { storiesOf, action, linkTo } from '@kadira/storybook';
const addWithInfoOptions = { inline: true, propTables: false };
storiesOf('按钮', module)
.addWithInfo(
'按钮样式',
() => (
<Button type="primary" onClick={action('clicked')}>点击我</Button>
), addWithInfoOptions)