perf(input): update InputType in input.d.ts

This commit is contained in:
Timothy Yin 2024-11-24 06:21:05 +08:00 committed by GitHub
parent abd99b2e6d
commit e9b9b070f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,10 +13,7 @@ export type InputColor =
export type InputVariant =
| keyof typeof input.variant
| ExtractDeepKey<AppConfig, ['rayui', 'input', 'variant']>
export type InputType = Extract<
'text' | 'password' | 'number' | 'url' | 'email' | 'search' | 'file' | 'hidden',
InputHTMLAttributes['type']
>
export type InputType = 'text' | 'password' | 'number' | 'url' | 'email' | 'search' | 'file' | 'hidden'
export type InputModelModifiers = {
number?: boolean
trim?: boolean