@matechat/core
Version:
前端智能化场景解决方案UI库,轻松构建你的AI应用。
34 lines (33 loc) • 725 B
TypeScript
import type { PropType } from 'vue';
import { ListDirection, ListVariant } from '@matechat/core/List';
export interface IconConfig {
name: string;
size?: string;
color?: string;
component?: object;
}
export interface Prompt {
value: string | number;
label: string;
iconConfig?: IconConfig;
desc?: string;
}
export declare const promptProps: {
direction: {
type: PropType<ListDirection>;
default: any;
};
list: {
type: PropType<Prompt[]>;
default: () => never[];
};
variant: {
type: PropType<ListVariant>;
default: any;
};
};
export declare const promptItemProps: {
prompt: {
type: PropType<Prompt>;
};
};