element-pro-components
Version:
a component library for Vue 3 base on element-plus
13 lines (12 loc) • 454 B
TypeScript
import { selectProps, selectEmits } from './props';
import type { ExternalParam, IDefineProps, IDefineEmits } from '../types/index';
export interface SelectConfig {
value?: string;
label?: string;
name?: string;
disabled?: string;
children?: string;
}
export type SelectDataItem = Record<string, ExternalParam>;
export type ISelectProps = IDefineProps<typeof selectProps>;
export type ISelectEmits = IDefineEmits<typeof selectEmits>;