tyh-ui2
Version:
The next generation ui component library of tyh-ui is based on vue3 Version, fully embrace vue3.
28 lines (27 loc) • 900 B
TypeScript
import { PropType } from 'vue';
import type { Size, Type } from './interface';
export declare const Props: {
readonly modelValue: {
readonly type: StringConstructor;
readonly set: () => boolean;
};
readonly placeholder: StringConstructor;
readonly type: {
readonly type: PropType<Type>;
readonly default: () => Type;
readonly validator: (v: Type) => boolean;
};
readonly size: {
readonly type: PropType<Size>;
readonly default: () => Size;
readonly validator: (v: Size) => boolean;
};
readonly max: StringConstructor;
readonly clear: BooleanConstructor;
readonly icon: StringConstructor;
readonly disabled: BooleanConstructor;
readonly autofocus: BooleanConstructor;
readonly name: StringConstructor;
readonly showPassword: BooleanConstructor;
readonly set: () => boolean;
};