1 | import React from 'react';
|
2 | import {storiesOf} from '@storybook/html';
|
3 |
|
4 | import reactDecorator from '../../.storybook/react-decorator';
|
5 | import Badge from '../badge/badge';
|
6 | import Link from '../link/link';
|
7 |
|
8 | import Group from './group';
|
9 |
|
10 | storiesOf('Components|Group', module).
|
11 | addParameters({
|
12 | notes: 'Places inner components with fixed spacing between them.'
|
13 | }).
|
14 | addDecorator(reactDecorator()).
|
15 | add('basic', () => (
|
16 | <Group>
|
17 | <Badge valid>Badge</Badge>
|
18 | <span>Text</span>
|
19 | <Link>Link</Link>
|
20 | </Group>
|
21 | ));
|