@udus/notion-renderer
Version:

11 lines • 568 B
TypeScript
import type { BlockBlockProps } from "./block.js";
import type { ChildDatabaseBlockObjectResponse, DatabaseObjectResponse } from "@notionhq/client/build/src/api-endpoints.js";
import type { ComponentType } from "react";
export type ChildDatabaseBlockObject = ChildDatabaseBlockObjectResponse & {
child_database: {
database?: DatabaseObjectResponse;
};
};
export type ChildDatabaseBlockProps = BlockBlockProps<ChildDatabaseBlockObject>;
export type ChildDatabaseBlock = ComponentType<ChildDatabaseBlockProps>;
//# sourceMappingURL=childDatabase.d.ts.map