UNPKG

@superset-ui/core

Version:
11 lines 611 B
/// <reference types="react" /> import { defaultSchema } from 'rehype-sanitize'; interface SafeMarkdownProps { source: string; htmlSanitization?: boolean; htmlSchemaOverrides?: typeof defaultSchema; } export declare function getOverrideHtmlSchema(originalSchema: typeof defaultSchema, htmlSchemaOverrides: SafeMarkdownProps['htmlSchemaOverrides']): import("hast-util-sanitize/lib").Schema; declare function SafeMarkdown({ source, htmlSanitization, htmlSchemaOverrides, }: SafeMarkdownProps): import("react").JSX.Element | null; export default SafeMarkdown; //# sourceMappingURL=SafeMarkdown.d.ts.map