UNPKG

@superset-ui/core

Version:
12 lines 657 B
/// <reference types="react" /> export declare function sanitizeHtml(htmlString: string): string; export declare function hasHtmlTagPattern(str: string): boolean; export declare function isProbablyHTML(text: string): boolean; export declare function sanitizeHtmlIfNeeded(htmlString: string): string; export declare function safeHtmlSpan(possiblyHtmlString: string): string | import("react").JSX.Element; export declare function removeHTMLTags(str: string): string; export declare function isJsonString(str: string): boolean; export declare function getParagraphContents(str: string): { [key: string]: string; } | null; //# sourceMappingURL=html.d.ts.map