duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
20 lines (19 loc) • 739 B
TypeScript
import type { HTMLAttributes } from "svelte/elements";
import { DuoyunStatisticElement } from '../elements/statistic';
export * from '../elements/statistic';
interface DyStatisticProps extends HTMLAttributes<HTMLElement> {
neutral?: DuoyunStatisticElement['neutral'];
type?: DuoyunStatisticElement['type'];
/**@deprecated */
text?: DuoyunStatisticElement['text'];
header?: DuoyunStatisticElement['header'];
icon?: DuoyunStatisticElement['icon'];
loading?: DuoyunStatisticElement['loading'];
value?: DuoyunStatisticElement['value'];
prevValue?: DuoyunStatisticElement['prevValue'];
}
declare module "svelte/elements" {
interface SvelteHTMLElements {
'dy-statistic': DyStatisticProps;
}
}