@poupe/vue
Version:
Vue component library for Poupe UI framework with theme customization and accessibility support
8 lines (7 loc) • 323 B
text/typescript
import { type IconifyIcon } from "@iconify/vue";
import { type ComputedRef, type MaybeRefOrGetter, type Ref } from "vue";
export declare function usePasswordToggle(origType: MaybeRefOrGetter<string>): {
passwordToggleIcon: ComputedRef<IconifyIcon | string>;
showPassword: Ref<boolean>;
typeAttr: ComputedRef<string>;
};