tav-ui
Version:
59 lines (58 loc) • 1.36 kB
TypeScript
import type { ExtractPropTypes, PropType } from 'vue';
export declare const inputNumberProps: {
addonAfter: {
type: (StringConstructor | ObjectConstructor)[];
};
addonBefore: {
type: (StringConstructor | ObjectConstructor)[];
};
allowClear: {
type: BooleanConstructor;
default: boolean;
};
bordered: {
type: BooleanConstructor;
default: boolean;
};
defaultValue: {
type: StringConstructor;
};
disabled: {
type: BooleanConstructor;
default: boolean;
};
id: {
type: StringConstructor;
};
maxLength: {
type: NumberConstructor;
};
showCount: {
type: BooleanConstructor;
default: boolean;
};
status: {
type: PropType<"error" | "warning">;
};
prefix: {
type: (StringConstructor | ObjectConstructor)[];
};
size: {
type: PropType<"small" | "middle" | "large">;
default: string;
};
suffix: {
type: (StringConstructor | ObjectConstructor)[];
};
type: {
type: StringConstructor;
default: string;
};
value: {
type: StringConstructor;
};
placeholder: {
type: StringConstructor;
};
};
export declare type InputNumberProps = ExtractPropTypes<typeof inputNumberProps>;