UNPKG

@julo-ui/otp-input

Version:

React Input Component for entering sequences of digits

15 lines (12 loc) 546 B
import * as _julo_ui_system from '@julo-ui/system'; import * as react from 'react'; import { UseOtpInputFieldProps } from './types.js'; declare function useOtpInputField(props: UseOtpInputFieldProps, ref?: React.Ref<unknown>): react.AriaAttributes & react.DOMAttributes<_julo_ui_system.DOMElement> & { [dataAttr: string]: any; } & { id?: string | undefined; role?: react.AriaRole | undefined; tabIndex?: number | undefined; style?: react.CSSProperties | undefined; } & react.RefAttributes<any>; export { useOtpInputField };