UNPKG

svelte-rune-highlight

Version:
26 lines (25 loc) 637 B
interface Props { code?: string; language?: string; theme?: string; lineNumbers?: boolean; copyButton?: boolean; class?: string; style?: string; [key: string]: any; } /** * [Go to docs](https://svelte-rune-highlight.codewithshin.com/) * ## Props * @prop code = '' * @prop language = 'auto' * @prop theme = '' * @prop lineNumbers = false * @prop copyButton = false * @prop class: className = '' * @prop style = '' * @prop ...restProps */ declare const CodeHighlight: import("svelte").Component<Props, {}, "">; type CodeHighlight = ReturnType<typeof CodeHighlight>; export default CodeHighlight;