mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
388 B
388 B
// Replace your-framework with the name of your framework
import type { Meta } from '@storybook/<your-framework>';
import { Button } from './Button';
const meta = {
component: Button,
} satisfies Meta<typeof Button>; // 👈 Satisfies operator being used for stricter type checking.
export default meta;