UNPKG

536 BJavaScriptView Raw
1import React from 'react';
2import {storiesOf} from '@storybook/html';
3
4import reactDecorator from '../../.storybook/react-decorator';
5import Badge from '../badge/badge';
6import Link from '../link/link';
7
8import Group from './group';
9
10storiesOf('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 ));