@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
18 lines (15 loc) • 547 B
JavaScript
import { defineComponent, renderSlot, normalizeProps, guardReactiveProps, unref } from 'vue';
import { usePasswordInputContext } from './use-password-input-context.js';
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "password-input-context",
props: {
value: {}
},
setup(__props) {
const passwordInput = usePasswordInputContext();
return (_ctx, _cache) => {
return renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(passwordInput))));
};
}
});
export { _sfc_main as default };