@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
11 lines (10 loc) • 606 B
TypeScript
import { PropTypes } from '@zag-js/vue';
import { ComputedRef, MaybeRef } from 'vue';
import { EmitFn, Optional } from '../../types';
import { RootEmits } from './password-input.types';
import * as passwordInput from '@zag-js/password-input';
export interface UsePasswordInputProps extends Optional<Omit<passwordInput.Props, 'dir' | 'getRootNode'>, 'id'> {
}
export interface UsePasswordInputReturn extends ComputedRef<passwordInput.Api<PropTypes>> {
}
export declare const usePasswordInput: (props?: MaybeRef<UsePasswordInputProps>, emit?: EmitFn<RootEmits>) => ComputedRef<passwordInput.Api<PropTypes>>;