storybook/docs/snippets/common/button-group-story-subcomponents.js.mdx
2020-10-07 12:23:34 +08:00

12 lines
199 B
Plaintext

```js
// ButtonGroup.stories.js
import { Button, ButtonGroup } from '../ButtonGroup';
export default {
title: 'Path/to/ButtonGroup',
component: ButtonGroup,
subcomponents: { Button },
};
```