@blank-utils/syntax-highlighter
Version:
CSS font-palette syntax highlighter component
20 lines (19 loc) • 492 B
TypeScript
import React from "react";
export interface ColorPalette {
keywords?: string;
comments?: string;
literals?: string;
numbers?: string;
functions?: string;
others?: string;
unused?: string;
quotes?: string;
additional?: string;
}
export interface SyntaxHighlighterProps {
children: React.ReactNode;
className?: string;
palette?: ColorPalette;
}
declare const SyntaxHighlighter: React.FC<SyntaxHighlighterProps>;
export default SyntaxHighlighter;