26 lines
591 B
JavaScript
26 lines
591 B
JavaScript
|
import { buildProps, definePropType } from '../../../utils/props.mjs';
|
||
|
|
||
|
const linkProps = buildProps({
|
||
|
type: {
|
||
|
type: String,
|
||
|
values: ["primary", "success", "warning", "info", "danger", "default"],
|
||
|
default: "default"
|
||
|
},
|
||
|
underline: {
|
||
|
type: Boolean,
|
||
|
default: true
|
||
|
},
|
||
|
disabled: { type: Boolean, default: false },
|
||
|
href: { type: String, default: "" },
|
||
|
icon: {
|
||
|
type: definePropType([String, Object]),
|
||
|
default: ""
|
||
|
}
|
||
|
});
|
||
|
const linkEmits = {
|
||
|
click: (evt) => evt instanceof MouseEvent
|
||
|
};
|
||
|
|
||
|
export { linkEmits, linkProps };
|
||
|
//# sourceMappingURL=link.mjs.map
|