mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
1.3 KiB
1.3 KiB
// Replace your-renderer with the renderer you are using (e.g., react, vue3)
import { Meta } from '@storybook/your-renderer';
import { DataTable } from './DataTable';
const meta: Meta<typeof DataTable> = {
component: DataTable,
parameters: {
// 👇 This component's accessibility tests will not fail
// Instead, they display warnings in the Storybook UI
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 { DataTable } from './DataTable';
const meta = {
component: DataTable,
parameters: {
// 👇 This component's accessibility tests will not fail
// Instead, they display warnings in the Storybook UI
a11y: { test: 'todo' },
},
} satisfies Meta<typeof DataTable>;
export default meta;
import { DataTable } from './DataTable';
export default {
component: DataTable,
parameters: {
// 👇 This component's accessibility tests will not fail
// Instead, they display warnings in the Storybook UI
a11y: { test: 'todo' },
},
};