/** * 该文件为脚本自动生成文件,请勿随意修改。如需修改请联系 PMC * */ import { SizeEnum } from '../common/common'; export interface TdLinkProps { /** * 链接内容 */ content?: { type: StringConstructor; value?: string; }; /** * 是否为禁用态 * @default false */ disabled?: { type: BooleanConstructor; value?: boolean; }; /** * 是否开启点击反馈 */ hover?: { type: BooleanConstructor; value?: boolean; }; /** * 与 navigator 原生组件属性保持一致,具体使用参考:[微信开放文档](https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html)。使用时请将形如 `open-type` 风格的属性名改为 `openType` 风格 */ navigatorProps?: { type: ObjectConstructor; value?: object; }; /** * 前置图标 */ prefixIcon?: { type: null; value?: string | object; }; /** * 尺寸 * @default medium */ size?: { type: StringConstructor; value?: SizeEnum; }; /** * 后置图标 */ suffixIcon?: { type: null; value?: string | object; }; /** * 组件风格,依次为默认色、品牌色、危险色、警告色、成功色 * @default default */ theme?: { type: StringConstructor; value?: 'default' | 'primary' | 'danger' | 'warning' | 'success'; }; /** * 是否显示链接下划线 */ underline?: { type: BooleanConstructor; value?: boolean; }; }