UNPKG

svelte-rune-highlight

Version:
18 lines (17 loc) 510 B
import type { HTMLAttributes } from 'svelte/elements'; interface Props extends HTMLAttributes<HTMLPreElement> { code?: string; langtag?: boolean; class?: string; } /** * [Go to docs](https://svelte-rune-highlight.codewithshin.com/) * ## Props * @prop code = '' * @prop langtag = false * @prop class: className * @prop ...restProps */ declare const HighlightAuto: import("svelte").Component<Props, {}, "">; type HighlightAuto = ReturnType<typeof HighlightAuto>; export default HighlightAuto;