UNPKG

@jill64/svelte-input

Version:

➡️ Functional Input Component Set for Svelte

17 lines (16 loc) 648 B
import type { Snippet } from 'svelte'; import type { HTMLInputAttributes } from 'svelte/elements'; type $$ComponentProps = { value?: string; accept?: HTMLInputAttributes['accept']; multiple?: HTMLInputAttributes['multiple']; disabled?: HTMLInputAttributes['disabled']; required?: HTMLInputAttributes['required']; readonly?: HTMLInputAttributes['readonly']; attributes?: HTMLInputAttributes; onSelect?: (files: FileList) => unknown; children?: Snippet; }; declare const FileInput: import("svelte").Component<$$ComponentProps, {}, "value">; type FileInput = ReturnType<typeof FileInput>; export default FileInput;