Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 58x 59x 58x 58x | import type { ComponentStory } from "@storybook/react"; import * as React from "react"; import { Button } from "stories"; // eslint-disable-next-line storybook/story-exports export default { component: Button, // mdx generated docs includeStories: [], cyIncludeStories: true, }; export const DocsInMDX: ComponentStory<typeof Button> = (args) => ( <Button {...args} /> ); DocsInMDX.args = { label: "Documentation provided by mdx file while component is written in csf", }; // don't show the component in the docs created by mdx DocsInMDX.parameters = { docs: { disable: true }, }; |