We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad941cc commit 94c1d33Copy full SHA for 94c1d33
src/lib/input/input.svelte
@@ -2,9 +2,26 @@
2
import type { Component } from 'svelte';
3
import Error from '$lib/icons/error.svelte';
4
import { randomString } from '$lib/utils/random.js';
5
+ import type { HTMLAttributes } from 'svelte/elements';
6
7
type propsT = {
- type?: 'text' | 'number' | 'email' | 'password' | undefined;
8
+ type?:
9
+ | 'text'
10
+ | 'number'
11
+ | 'email'
12
+ | 'password'
13
+ | 'search'
14
+ | 'time'
15
+ | 'date'
16
+ | 'datetime-local'
17
+ | 'file'
18
+ | 'image'
19
+ | 'tel'
20
+ | 'color'
21
+ | 'url'
22
+ | 'week'
23
+ | 'month'
24
+ | undefined;
25
id?: string | undefined;
26
name?: string | undefined;
27
value?: string | undefined;
0 commit comments