t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
22 lines (15 loc) • 437 B
TypeScript
export type { InputPropsType } from './props'
export type InputType = 'text' | 'password'
export type InputSizeType = 'large' | 'middle' | 'small' | 'mini'
export interface InputFocusInterface {
(evt: FocusEvent): void
}
export interface InputChangeInterface {
(val: string): void
}
export interface InputSearchInterface {
({ evt: Event, value: string }): void
}
export interface InputEnterInterface {
(evt: Event): void
}