@yuntijs/ui
Version:
☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps
12 lines (11 loc) • 415 B
TypeScript
/// <reference types="react" />
import { ThemeProps } from "../../hooks/useHighlight";
import { DivProps } from "../../types";
export interface SyntaxHighlighterProps extends DivProps {
children: string;
language: string;
enableTransformer?: boolean;
theme?: ThemeProps;
animated?: boolean;
}
export declare const SyntaxHighlighter: import("react").NamedExoticComponent<SyntaxHighlighterProps>;