ant-design-x-vue
Version:
Craft AI-driven interfaces effortlessly
49 lines (48 loc) • 1.1 kB
JavaScript
import { defineComponent as o, mergeDefaults as t, createVNode as e, mergeProps as u } from "vue";
import { a } from "../../attachments/Attachments2.mjs";
import r from "./ActionButton/index.mjs";
import { A as d } from "../../attachments/FileList/FileList2.mjs";
const c = /* @__PURE__ */ o({
name: "AXSenderLoadingButton",
__name: "SendButton",
props: t({
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
}, {
type: "primary",
shape: "circle",
disabled: void 0
}),
setup(l) {
const n = a(l, ["type", "shape", "disabled"]);
return () => e(r, u({
type: l.type,
shape: l.shape,
disabled: l.disabled
}, n, {
action: "onSend"
}), {
default: () => [e(d, null, null)]
});
}
});
export {
c as default
};