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