@yuntijs/ui
Version:
☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps
24 lines (23 loc) • 747 B
TypeScript
import { ReactNode } from 'react';
import { ThemeProps } from "../hooks/useHighlight";
import { DivProps } from "../types";
export interface FullFeaturedHighlighterProps extends DivProps {
allowChangeLanguage?: boolean;
/**
* @description The code content to be highlighted
*/
children: string;
fileName?: string;
icon?: ReactNode;
/**
* @description The language of the code content
*/
language: string;
contentStyle?: React.CSSProperties;
enableTransformer?: boolean;
theme?: ThemeProps;
animated?: boolean;
wrap?: boolean;
}
export declare const FullFeaturedHighlighter: import("react").NamedExoticComponent<FullFeaturedHighlighterProps>;
export * from './SyntaxHighlighter';