UNPKG

duoyun-ui

Version:

A lightweight desktop UI component library, implemented using Gem

14 lines (13 loc) 497 B
import type { HTMLAttributes } from "svelte/elements"; import { DuoyunCodeBlockElement } from '../elements/code-block'; export * from '../elements/code-block'; interface DyCodeBlockProps extends HTMLAttributes<HTMLElement> { codelang?: DuoyunCodeBlockElement['codelang']; range?: DuoyunCodeBlockElement['range']; highlight?: DuoyunCodeBlockElement['highlight']; } declare module "svelte/elements" { interface SvelteHTMLElements { 'dy-code-block': DyCodeBlockProps; } }