@jill64/svelte-input
Version:
➡️ Functional Input Component Set for Svelte
17 lines (16 loc) • 655 B
TypeScript
import type { Snippet } from 'svelte';
import type { HTMLInputAttributes } from 'svelte/elements';
type $$ComponentProps = {
value?: HTMLInputAttributes['checked'];
Class?: HTMLInputAttributes['class'];
style?: HTMLInputAttributes['style'];
disabled?: HTMLInputAttributes['disabled'];
required?: HTMLInputAttributes['required'];
readonly?: HTMLInputAttributes['readonly'];
attributes?: HTMLInputAttributes;
onChange?: (s: boolean) => unknown;
children?: Snippet;
};
declare const CheckBox: import("svelte").Component<$$ComponentProps, {}, "value">;
type CheckBox = ReturnType<typeof CheckBox>;
export default CheckBox;