UNPKG

@udus/notion-renderer

Version:
12 lines 572 B
import type { BlockBlockProps } from "./block.js"; import type { RichTextItemType } from "../richText/richTextItem.js"; import type { TableRowBlockObjectResponse } from "@notionhq/client/build/src/api-endpoints.js"; import type { ComponentType } from "react"; export type TableRowBlockObject = TableRowBlockObjectResponse & { table_row: { cells: Array<Array<RichTextItemType>>; }; }; export type TableRowBlockProps = BlockBlockProps<TableRowBlockObject>; export type TableRowBlock = ComponentType<TableRowBlockProps>; //# sourceMappingURL=tableRow.d.ts.map