2019-07-01 12:22:55 +08:00

11 lines
366 B
TypeScript

import * as React from 'react';
import { configure, storiesOf } from '@storybook/react';
configure(() => {
storiesOf('Component 1', module).add('Story 1', () => <div>Component 1 - Story 1</div>);
storiesOf('Component 2', module)
.add('Story 1', () => <div>Category 2 - Story 1</div>)
.add('Story 2', () => <div>Category 2 - Story 2</div>);
}, module);