@udus/notion-renderer
Version:

12 lines • 581 B
TypeScript
import type { BlockBlockProps } from "./block.js";
import type { ArticleData } from "@extractus/article-extractor";
import type { LinkPreviewBlockObjectResponse } from "@notionhq/client/build/src/api-endpoints.js";
import type { ComponentType } from "react";
export type LinkPreviewBlockObject = LinkPreviewBlockObjectResponse & {
link_preview: {
site_meta?: ArticleData;
};
};
export type LinkPreviewBlockProps = BlockBlockProps<LinkPreviewBlockObject>;
export type LinkPreviewBlock = ComponentType<LinkPreviewBlockProps>;
//# sourceMappingURL=linkPreview.d.ts.map