2017-01-11 16:22:28 +02:00
|
|
|
const React = require('react');
|
|
|
|
|
|
|
|
const {
|
|
|
|
storiesOf
|
|
|
|
} = require('@kadira/storybook');
|
|
|
|
|
|
|
|
const Tabs = require('./');
|
|
|
|
const Tab = require('./tab');
|
2017-01-12 13:07:47 +02:00
|
|
|
const Base = require('../base');
|
2017-01-11 16:22:28 +02:00
|
|
|
|
|
|
|
storiesOf('Tabs', module)
|
|
|
|
.add('Default', () => (
|
2017-01-12 13:07:47 +02:00
|
|
|
<Base>
|
|
|
|
<Tabs name='my-tab-group'>
|
|
|
|
<Tab title='Your Dashboard'>
|
|
|
|
<h1>Containers</h1>
|
|
|
|
</Tab>
|
|
|
|
<Tab title='YLD'>
|
|
|
|
<h1>User</h1>
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|
|
|
|
</Base>
|
2017-01-11 16:22:28 +02:00
|
|
|
));
|