ivue-material-plus
Version:
A high quality UI components Library with Vue.js
35 lines (30 loc) • 770 B
text/typescript
import type Select from '../ivue-select/index.vue';
import type Input from '../ivue-input/index.vue';
export type Select = InstanceType<typeof Select>;
export type Input = InstanceType<typeof Input>;
export type Option = {
value: string | number;
label: string | number;
};
export interface Props {
modelValue: string;
placeholder: string;
disabled: boolean;
clearable: boolean;
placement: string;
transferClassName: string;
transfer: boolean;
id: string;
capture: boolean;
name: string;
list: any[];
filterMethod?: any | boolean;
remoteMethod?: any;
loading: boolean;
loadingText: string;
validateEvent: boolean;
}
export interface Data {
currentValue: string;
disableEmitChange: boolean;
}