/** * @file generate for component: GreetingCard * @link file://./API.md * @link file://./README.md */ import san from 'san'; import {GreetingCardData} from './interface'; /** * GreetingCard 组件 * @doc [官网](baidu.github.io/cosui/components/cosmic-dqa/greeting-card) */ export default class GreetingCard extends san.Component { static props: { /** 头像图片url */ avatar: GreetingCardData['avatar']; /** 打招呼标题 */ title?: GreetingCardData['title']; /** 打招呼内容 */ content?: GreetingCardData['content']; /** 卡片样式 */ appearance?: GreetingCardData['appearance']; /** 语音按钮数据 */ voice?: GreetingCardData['voice']; /** 视频按钮数据 */ video?: GreetingCardData['video']; }; static events: { "voice-click": { event: MouseEvent; }; "video-click": { event: MouseEvent; }; }; static messages: { }; }