UNPKG

lwx-test-ui

Version:

lwx-test-ui

39 lines (38 loc) 1.24 kB
import { ExtractPropTypes, PropType } from 'vue'; export declare const inputProps: { readonly modelValue: { readonly type: PropType<number | string | null | undefined>; readonly default: ""; }; readonly placeholder: { readonly type: StringConstructor; readonly default: "请输入"; }; readonly showWordLimit: { readonly type: BooleanConstructor; readonly default: true; }; readonly maxlength: { readonly type: [NumberConstructor, StringConstructor]; readonly default: 100; }; readonly clearable: { readonly type: BooleanConstructor; readonly default: true; }; readonly a: { readonly type: NumberConstructor; readonly default: 1; }; readonly c: { readonly type: StringConstructor; readonly default: ""; }; }; export type InputProps = ExtractPropTypes<typeof inputProps>; export declare const inputEmits: { 'update:modelValue': (_value: string | number | null | undefined) => boolean; input: (_value: string | number | null | undefined) => boolean; change: (_value: string | number | null | undefined) => boolean; }; export type InputEmits = typeof inputEmits;