diff --git a/src/components/page/page.stories.tsx b/src/components/page/page.stories.tsx index 9cdf0fd0..c6e284ab 100644 --- a/src/components/page/page.stories.tsx +++ b/src/components/page/page.stories.tsx @@ -6,16 +6,20 @@ import { Column } from "../layout/column"; import { Logo } from "../logo"; import { Page } from "./page"; +type PagePropsAndCustomArgs = React.ComponentProps & { + debug?: boolean; +}; + const meta = { title: "Building Blocks/Page", component: Page, parameters: { layout: "fullscreen", }, -} satisfies Meta; +} satisfies Meta; export default meta; -type Story = StoryObj; +type Story = StoryObj; export const PageComponent: Story = { args: { @@ -25,10 +29,13 @@ export const PageComponent: Story = { export const SamplePage: Story = { args: { - children: ( - - - + debug: false, + }, + render: ({ debug }) => ( + + + + - ), - }, + + ), };