storybook/docs/snippets/common/button-group-story-subcomponents.js.mdx
2021-05-06 21:05:56 +01:00

11 lines
198 B
Plaintext

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