@udus/notion-renderer
Version:

11 lines • 520 B
TypeScript
import type { BlockBlockProps } from "./block.js";
import type { ChildPageBlockObjectResponse, PageObjectResponse } from "@notionhq/client/build/src/api-endpoints.js";
import type { ComponentType } from "react";
export type ChildPageBlockObject = ChildPageBlockObjectResponse & {
child_page: {
page?: PageObjectResponse;
};
};
export type ChildPageBlockProps = BlockBlockProps<ChildPageBlockObject>;
export type ChildPageBlock = ComponentType<ChildPageBlockProps>;
//# sourceMappingURL=childPage.d.ts.map