mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 00:41:05 +08:00
17 lines
399 B
JavaScript
17 lines
399 B
JavaScript
import React from 'react';
|
|
import { DocgenButton } from '../../components/DocgenButton';
|
|
import { ButtonGroup } from '../../components/ButtonGroup';
|
|
|
|
export default {
|
|
title: 'Addons/Docs/ButtonGroup',
|
|
component: ButtonGroup,
|
|
subcomponents: { DocgenButton },
|
|
};
|
|
|
|
export const basic = () => (
|
|
<ButtonGroup>
|
|
<DocgenButton label="foo" />
|
|
<DocgenButton label="bar" />
|
|
</ButtonGroup>
|
|
);
|