@artmate/chat
Version:
**开箱即用的AI组件库(基于 Vue3 + ElementPlus)**
15 lines (14 loc) • 442 B
TypeScript
import { Component } from 'vue';
export interface DropDownItemProps {
command?: number | object | string;
disabled?: boolean;
divided?: boolean;
icon?: Component | string;
label?: string;
}
export interface DropDownProps {
placement?: 'bottom' | 'bottom-end' | 'bottom-start' | 'top' | 'top-end' | 'top-start';
trigger?: 'click' | 'contextmenu' | 'hover';
disabled?: boolean;
menu?: DropDownItemProps[];
}