geist-ui-svelte
Version:
<img src="./src/lib/assets/demo-page.png">
32 lines (31 loc) • 995 B
TypeScript
import { SvelteComponent } from "svelte";
declare const __propDef: {
props: {
[x: string]: any;
checked?: boolean | undefined;
id?: string | undefined;
color?: "default" | "success" | "warning" | "error" | "secondary" | null | undefined;
disabled?: boolean | undefined;
ring?: boolean | undefined;
};
events: {
click: CustomEvent<any>;
change: CustomEvent<any>;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type CheckboxProps = typeof __propDef.props;
export type CheckboxEvents = typeof __propDef.events;
export type CheckboxSlots = typeof __propDef.slots;
/**
* An input with a true / false state.
*
* [See Docs](https://geist-ui-svelte.dev/components/checkbox) | [Open Issue](https://github.com/ieedan/geist-ui-svelte/issues/new)
*/
export default class Checkbox extends SvelteComponent<CheckboxProps, CheckboxEvents, CheckboxSlots> {
}
export {};