import type { Meta, StoryObj } from '@storybook/react'; import ComponentRules from '../component-rules'; import ComponentName from '../../component-name/component-name'; const meta: Meta = { component: ComponentRules, title: 'Storybook Blocks/ComponentRules', }; export default meta; type Story = StoryObj; export const Overview: Story = { args: { rules: [ { positive: { component: Hello world, description: 'Always capitalize the first letter of the first word in the heading.', }, negative: { component: Hello World, description: 'Please avoid capitalizing the first letter of each word in the heading.', }, }, ], }, };