@udus/notion-renderer
Version:

13 lines • 621 B
TypeScript
import type { BlockBlockObject, BlockBlockProps } from "./block.js";
import type { RichTextItemType } from "../richText/richTextItem.js";
import type { CalloutBlockObjectResponse } from "@notionhq/client/build/src/api-endpoints.js";
import type { ComponentType } from "react";
export type CalloutBlockObject = CalloutBlockObjectResponse & {
callout: {
rich_text: Array<RichTextItemType>;
children?: Array<BlockBlockObject>;
};
};
export type CalloutBlockProps = BlockBlockProps<CalloutBlockObject>;
export type CalloutBlock = ComponentType<CalloutBlockProps>;
//# sourceMappingURL=callout.d.ts.map