
package.dist.components.pin-input.use-pin-input.d.cts Maven / Gradle / Ivy
import { PropTypes } from '@zag-js/react';
import { Optional } from '../../types';
import * as pinInput from '@zag-js/pin-input';
export interface UsePinInputProps extends Optional, 'id'> {
/**
* The initial value of the pin input when it is first rendered.
* Use when you do not need to control the state of the pin input
*/
defaultValue?: pinInput.Context['value'];
}
export interface UsePinInputReturn extends pinInput.Api {
}
export declare const usePinInput: (props?: UsePinInputProps) => UsePinInputReturn;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy