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

12 lines
217 B
Plaintext

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