@martin-hillford/markdown-ts-react
Version:
This is a React wrapper for the markdown-ts library. Please, see <https://github.com/martin-hillford/markdown-ts> for more information on the supported syntax.
15 lines (14 loc) • 403 B
TypeScript
import { IInlineParser } from '@martin-hillford/markdown-ts';
import { RuleSet } from 'styled-components';
interface Props {
text?: string;
enabled?: boolean;
styled: RuleSet<object>;
inline?: {
parser: IInlineParser;
color: string;
class: string;
}[];
}
export declare const Highlighter: (props: Props) => import("react/jsx-runtime").JSX.Element;
export {};