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