@mee4dy/crud
Version:
Create a backend and frontend in 5 minutes! With our powerful full stack crud system, customize it to suit you.
43 lines (42 loc) • 961 B
JavaScript
import { BButton as e } from "bootstrap-vue";
import o from "../MdiIcon/Index.vue.js";
/* empty css */
import i from "../../../../_virtual/_plugin-vue2_normalizer.js";
const r = {
components: {
"b-button": e,
"ui-mdi-icon": o
},
props: {
icon: {
type: String | Boolean,
default: !1
},
iconSize: {
type: Number,
default: void 0
}
},
computed: {
iconSizeComputed() {
if (this.$attrs.size === "sm")
return 14;
}
}
};
var s = function() {
var t = this, n = t._self._c;
return n("b-button", t._g(t._b({ staticClass: "crud-ui-btn" }, "b-button", t.$attrs, !1), t.$listeners), [t.icon ? n("ui-mdi-icon", { attrs: { icon: t.icon, size: t.iconSizeComputed } }) : t._e(), n("span", [t._t("default")], 2)], 1);
}, c = [], a = /* @__PURE__ */ i(
r,
s,
c,
!1,
null,
"3bd3da48"
);
const p = a.exports;
export {
p as default
};
//# sourceMappingURL=Index.vue.js.map