first commit
This commit is contained in:
+47
@@ -0,0 +1,47 @@
|
||||
import { buildProps } from "../../../utils/vue/props/runtime.mjs";
|
||||
import { iconPropType } from "../../../utils/vue/icon.mjs";
|
||||
|
||||
//#region ../../packages/components/link/src/link.ts
|
||||
/**
|
||||
* @deprecated Removed after 3.0.0, Use `LinkProps` instead.
|
||||
*/
|
||||
const linkProps = buildProps({
|
||||
type: {
|
||||
type: String,
|
||||
values: [
|
||||
"primary",
|
||||
"success",
|
||||
"warning",
|
||||
"info",
|
||||
"danger",
|
||||
"default"
|
||||
],
|
||||
default: void 0
|
||||
},
|
||||
underline: {
|
||||
type: [Boolean, String],
|
||||
values: [
|
||||
true,
|
||||
false,
|
||||
"always",
|
||||
"never",
|
||||
"hover"
|
||||
],
|
||||
default: void 0
|
||||
},
|
||||
disabled: Boolean,
|
||||
href: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
target: {
|
||||
type: String,
|
||||
default: "_self"
|
||||
},
|
||||
icon: { type: iconPropType }
|
||||
});
|
||||
const linkEmits = { click: (evt) => evt instanceof MouseEvent };
|
||||
|
||||
//#endregion
|
||||
export { linkEmits, linkProps };
|
||||
//# sourceMappingURL=link.mjs.map
|
||||
Reference in New Issue
Block a user