mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
1.1 KiB
1.1 KiB
// Replace your-renderer with the renderer you are using (e.g., react, vue3)
import { Meta } from '@storybook/your-renderer';
import { Button } from './Button';
const meta: Meta<typeof Button> = {
component: Button,
parameters: {
// 👇 Remove this once all stories pass accessibility tests
// a11y: { test: 'todo' },
},
};
export default meta;
// Replace your-renderer with the renderer you are using (e.g., react, vue3)
import { Meta, StoryObj } from '@storybook/your-renderer';
import { Button } from './Button';
const meta = {
component: Button,
parameters: {
// 👇 Remove this once all stories pass accessibility tests
// a11y: { test: 'todo' },
},
} satisfies Meta<typeof Button>;
export default meta;
import { Button } from './Button';
export default {
component: Button,
parameters: {
// 👇 Remove this once all stories pass accessibility tests
// a11y: { test: 'todo' },
},
};