reka-ui
Version:
Vue port for Radix UI Primitives.
29 lines (26 loc) • 896 B
JavaScript
import { defineComponent, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createTextVNode } from 'vue';
import { u as useForwardExpose } from '../shared/useForwardExpose.js';
import { P as Primitive } from '../Primitive/Primitive.js';
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "PaginationEllipsis",
props: {
asChild: { type: Boolean },
as: {}
},
setup(__props) {
const props = __props;
useForwardExpose();
return (_ctx, _cache) => {
return openBlock(), createBlock(unref(Primitive), mergeProps(props, { "data-type": "ellipsis" }), {
default: withCtx(() => [
renderSlot(_ctx.$slots, "default", {}, () => [
_cache[0] || (_cache[0] = createTextVNode("…"))
])
]),
_: 3
}, 16);
};
}
});
export { _sfc_main as _ };
//# sourceMappingURL=PaginationEllipsis.js.map