@udus/notion-renderer
Version:

13 lines • 620 B
TypeScript
import type { BlockBlockObject, BlockBlockProps } from "./block.js";
import type { RichTextType } from "../richText/richText.js";
import type { ParagraphBlockObjectResponse } from "@notionhq/client/build/src/api-endpoints.js";
import type { ComponentType } from "react";
export type ParagraphBlockObject = ParagraphBlockObjectResponse & {
paragraph: {
rich_text: RichTextType;
children?: Array<BlockBlockObject>;
};
};
export type ParagraphBlockProps = BlockBlockProps<ParagraphBlockObject>;
export type ParagraphBlock = ComponentType<ParagraphBlockProps>;
//# sourceMappingURL=paragraph.d.ts.map