UNPKG

@udus/notion-renderer

Version:
18 lines 813 B
import type { LinkProps } from "../types/notion/common/link.js"; import type { AnnotationItemMapper } from "../types/notion/mapper/annotationItem.js"; import type { BlockMapper } from "../types/notion/mapper/block.js"; import type { PropertyItemMapper } from "../types/notion/mapper/propertyItem.js"; import type { RichTextItemMapper } from "../types/notion/mapper/richTextItem.js"; import type { FC, ReactNode } from "react"; type Props = { children: ReactNode; blockMapper?: BlockMapper; richTextItemMapper?: RichTextItemMapper; annotationMapper?: AnnotationItemMapper; LinkComponent?: React.ComponentType<LinkProps>; propertyMapper?: PropertyItemMapper; theme?: "light" | "dark"; }; export declare const RenderConfig: FC<Props>; export {}; //# sourceMappingURL=RenderConfig.d.ts.map