ant-design-x-vue
Version:
Craft AI-driven interfaces effortlessly
45 lines (44 loc) • 990 B
JavaScript
import { defineComponent as o, mergeDefaults as u, createVNode as n, mergeProps as r } from "vue";
import { a } from "../../attachments/Attachments2.mjs";
import t from "./ActionButton/index.mjs";
import { i } from "../../attachments/FileList/FileList2.mjs";
const p = /* @__PURE__ */ o({
name: "AXSenderClearButton",
__name: "ClearButton",
props: u({
prefixCls: null,
type: null,
htmlType: null,
shape: null,
size: null,
loading: null,
disabled: null,
ghost: null,
block: null,
danger: null,
icon: null,
href: null,
target: null,
title: null,
onClick: null,
onMousedown: null,
audioIcon: null,
audioDisabledIcon: null,
audioRecordingIcon: null
}, {
disabled: void 0
}),
setup(l) {
const e = a(l, ["disabled"]);
return () => n(t, r({
disabled: l.disabled
}, e, {
action: "onClear"
}), {
default: () => [n(i, null, null)]
});
}
});
export {
p as default
};