@fecp/mobile
Version:
31 lines (30 loc) • 1.42 kB
JavaScript
/* empty css */
/* empty css */
/* empty css */
/* empty css */
/* empty css */
import { createBlock, openBlock, mergeProps, withCtx, createTextVNode, toDisplayString } from "vue";
import { Checkbox } from "../../../../../../node_modules/.pnpm/vant@4.9.17_vue@3.5.13_typescript@5.7.3_/node_modules/vant/es/checkbox/index.mjs";
const _sfc_main = {
__name: "Checkbox",
props: {
label: {
type: String,
default: "复选项"
}
},
setup(__props) {
return (_ctx, _cache) => {
const _component_van_checkbox = Checkbox;
return openBlock(), createBlock(_component_van_checkbox, mergeProps(_ctx.$attrs, { shape: "square" }), {
default: withCtx(() => [
createTextVNode(toDisplayString(__props.label), 1)
]),
_: 1
}, 16);
};
}
};
export {
_sfc_main as default
};