@ducor/react
Version:
admin template ui interface
11 lines (10 loc) • 344 B
TypeScript
import "highlight.js/styles/github-dark.min.css";
interface CodeProps {
language?: string;
value?: string;
className?: string;
copyBtn?: "top" | "body" | false;
header?: boolean | string;
}
declare const Pre: ({ language, value, copyBtn, header, }: CodeProps) => import("react/jsx-runtime").JSX.Element;
export default Pre;