storybook/docs/snippets/common/button-group-story-subcomponents.ts.mdx
2020-08-08 03:33:41 +01:00

11 lines
215 B
Plaintext

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