UNPKG

@udus/notion-renderer

Version:
13 lines 631 B
import type { BlockBlockObject, BlockBlockProps } from "./block.js"; import type { RichTextItemType } from "../richText/richTextItem.js"; import type { Heading1BlockObjectResponse } from "@notionhq/client/build/src/api-endpoints.js"; import type { ComponentType } from "react"; export type Heading1BlockObject = Heading1BlockObjectResponse & { heading_1: { rich_text: Array<RichTextItemType>; children?: Array<BlockBlockObject>; }; }; export type Heading1BlockProps = BlockBlockProps<Heading1BlockObject>; export type Heading1Block = ComponentType<Heading1BlockProps>; //# sourceMappingURL=heading1.d.ts.map