duoyun-ui
Version:
A lightweight desktop UI component library, implemented using Gem
16 lines (15 loc) • 679 B
TypeScript
import type { HTMLAttributes } from "svelte/elements";
import { DuoyunCheckboxGroupElement } from '../elements/checkbox';
export * from '../elements/checkbox';
interface DyCheckboxGroupProps extends HTMLAttributes<HTMLElement> {
orientation?: DuoyunCheckboxGroupElement['orientation'];
disabled?: DuoyunCheckboxGroupElement['disabled'];
'on:change'?: (event: CustomEvent<Parameters<DuoyunCheckboxGroupElement['change']>[0]>) => void;
value?: DuoyunCheckboxGroupElement['value'];
options?: DuoyunCheckboxGroupElement['options'];
}
declare module "svelte/elements" {
interface SvelteHTMLElements {
'dy-checkbox-group': DyCheckboxGroupProps;
}
}