storybook/docs/snippets/common/button-group-story-subcomponents.js.mdx
2021-06-28 23:00:33 +01:00

11 lines
224 B
Plaintext

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