UNPKG

@julo-ui/otp-input

Version:

React Input Component for entering sequences of digits

14 lines (11 loc) 684 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as react from 'react'; import { f as UseOtpInputContextProps, g as OtpInputProviderProps } from './types-cc693119.js'; import '@chakra-ui/descendant'; import '@julo-ui/system'; import '@chakra-ui/descendant/dist/use-descendant'; import '@chakra-ui/descendant/dist/descendant'; declare const UseOtpInputProvider: react.Provider<UseOtpInputContextProps>; declare const useOtpInputContext: (errorMessage?: string | undefined) => UseOtpInputContextProps; declare function OtpInputProvider(props: OtpInputProviderProps): react_jsx_runtime.JSX.Element; export { OtpInputProvider, UseOtpInputProvider, useOtpInputContext };