svelte-ux
Version:
A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.
39 lines (38 loc) • 1.15 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
id?: string | undefined;
name?: string | undefined;
value?: any;
checked?: boolean | undefined;
group?: any[] | null | undefined;
indeterminate?: boolean | undefined;
required?: boolean | undefined;
disabled?: boolean | undefined;
fullWidth?: boolean | undefined;
size?: "xs" | "sm" | "md" | "lg" | undefined;
circle?: boolean | undefined;
classes?: {
root?: string;
input?: string;
checkbox?: string;
label?: string;
icon?: string;
} | undefined;
};
events: {
change: Event;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type CheckboxProps = typeof __propDef.props;
export type CheckboxEvents = typeof __propDef.events;
export type CheckboxSlots = typeof __propDef.slots;
export default class Checkbox extends SvelteComponentTyped<CheckboxProps, CheckboxEvents, CheckboxSlots> {
}
export {};