UNPKG

react-notion-x

Version:

Fast and accurate React renderer for Notion.

11 lines 725 B
import { Block, BlockMap } from 'notion-types'; import { isUrl, formatDate, formatNotionDateTime } from 'notion-utils'; export { isUrl, formatDate, formatNotionDateTime }; export declare const defaultMapImageUrl: (url: string, block: Block) => string; export declare const defaultMapPageUrl: (rootPageId?: string) => (pageId: string) => string; export declare const cs: (...classes: Array<string | undefined | false>) => string; export declare const getListNumber: (blockId: string, blockMap: BlockMap) => number; export declare const getHashFragmentValue: (url: string) => string; export declare const isBrowser: boolean; export declare const getYoutubeId: (url: string) => string | null; //# sourceMappingURL=utils.d.ts.map