mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 23:30:05 +02:00
20 lines
354 B
JavaScript
20 lines
354 B
JavaScript
const React = require('react');
|
|
|
|
const {
|
|
storiesOf
|
|
} = require('@kadira/storybook');
|
|
|
|
const Base = require('../base');
|
|
const Close = require('./');
|
|
|
|
storiesOf('Close', module)
|
|
.add('Default', () => (
|
|
<Base
|
|
style={{
|
|
position: 'relative',
|
|
width: 60
|
|
}}
|
|
>
|
|
<Close onClick={function noop() {}} />
|
|
</Base>
|
|
)); |