import React from "react"; import "./index.less"; /** * Currently, supports: * - \n for new line, each line wrapped with
* - `text` for emphasis, transform to * - __text__ or **text** for boldness, transform to * * Nested usage not supported yet. */ type MarkdownSymbol = "**" | "__" | "`"; export interface Props { children: string; whitelist?: MarkdownSymbol[]; style?: React.CSSProperties; } export declare const Markdown: ({ children, whitelist, style }: Props) => React.JSX.Element; export {};