@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
84 lines (83 loc) • 1.09 kB
JavaScript
const LinkSizeTypes = ["large", "medium", "small", "auto"];
const linkProps = {
/**
* 包含超链接指向的 URL 或 URL 片段。
*/
href: {
type: String
},
/**
* 指定在何处显示链接的资源。
*/
target: {
type: String
},
/**
* 是否为loading状态
*/
loading: {
type: Boolean
},
/**
* 链接颜色
*/
color: {
type: String,
default: "normal"
},
/**
* 按钮尺寸 SizeT
*/
size: {
type: String,
default: "auto"
},
/**
* 是否禁用
*/
disabled: {
type: Boolean
},
/**
* 前缀图标
*/
icon: {
type: Object
},
/**
* 后缀
*/
suffix: {
type: Boolean
},
/**
* hover时是否显示背景
*/
hoverBg: {
type: Boolean
},
/**
* hover时是否下划线
*/
hoverUnderline: {
type: Boolean
},
/**
* 元素标签
*/
tag: {
type: String,
default: "a"
},
/**
* 全局配置是否生效
*/
global: {
type: Boolean,
default: true
}
};
export {
LinkSizeTypes,
linkProps
};