mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-18 09:28:51 +08:00
perf(input): update InputType in input.d.ts
This commit is contained in:
parent
abd99b2e6d
commit
e9b9b070f7
5
src/runtime/types/input.d.ts
vendored
5
src/runtime/types/input.d.ts
vendored
@ -13,10 +13,7 @@ export type InputColor =
|
|||||||
export type InputVariant =
|
export type InputVariant =
|
||||||
| keyof typeof input.variant
|
| keyof typeof input.variant
|
||||||
| ExtractDeepKey<AppConfig, ['rayui', 'input', 'variant']>
|
| ExtractDeepKey<AppConfig, ['rayui', 'input', 'variant']>
|
||||||
export type InputType = Extract<
|
export type InputType = 'text' | 'password' | 'number' | 'url' | 'email' | 'search' | 'file' | 'hidden'
|
||||||
'text' | 'password' | 'number' | 'url' | 'email' | 'search' | 'file' | 'hidden',
|
|
||||||
InputHTMLAttributes['type']
|
|
||||||
>
|
|
||||||
export type InputModelModifiers = {
|
export type InputModelModifiers = {
|
||||||
number?: boolean
|
number?: boolean
|
||||||
trim?: boolean
|
trim?: boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user