UNPKG

@udus/notion-renderer

Version:
20 lines (19 loc) 594 B
import { jsx as _jsx } from "react/jsx-runtime"; import { BlocksContext } from "../hooks.js"; import BlockList from "./BlockList.json"; import { TableOfContents } from "./TableOfContents.js"; import TableOfContentsObject from "./TableOfContents.json"; const meta = { title: "Blocks/TableOfContents", component: TableOfContents, tags: ["autodocs"], }; export default meta; export const Default = { args: { block: TableOfContentsObject, }, decorators: [ (Story) => (_jsx(BlocksContext.Provider, { value: BlockList, children: _jsx(Story, {}) })), ], };