storybook/docs/snippets/web-components/button-group-story.ts.mdx
Kyle Gach b97d94e005 Address feedback
- Newline following filename comment
- Fix URLs in comments
- Ensure consistent usage of `ts` vs `tsx` language
2023-01-12 14:17:39 -07:00

24 lines
483 B
Plaintext

```ts
// ButtonGroup.stories.ts
import type { Meta, StoryObj } from '@storybook/web-components';
// 👇 Imports the Button stories
import * as ButtonStories from './Button.stories';
const meta: Meta = {
title: 'ButtonGroup',
component: 'demo-button-group',
};
export default meta;
type Story = StoryObj;
export const Pair: Story = {
args: {
buttons: [{ ...ButtonStories.Primary.args }, { ...ButtonStories.Secondary.args }],
orientation: 'horizontal',
},
};
```