@udus/notion-renderer
Version:

14 lines • 664 B
TypeScript
import type { BlockBlockProps } from "./block.js";
import type { RichTextItemType } from "../richText/richTextItem.js";
import type { ArticleData } from "@extractus/article-extractor";
import type { BookmarkBlockObjectResponse } from "@notionhq/client/build/src/api-endpoints.js";
import type { ComponentType } from "react";
export type BookmarkBlockObject = BookmarkBlockObjectResponse & {
bookmark: {
site_meta?: ArticleData;
caption: Array<RichTextItemType>;
};
};
export type BookmarkBlockProps = BlockBlockProps<BookmarkBlockObject>;
export type BookmarkBlock = ComponentType<BookmarkBlockProps>;
//# sourceMappingURL=bookmark.d.ts.map