UNPKG

@julo-ui/otp-input

Version:

React Input Component for entering sequences of digits

12 lines (9 loc) 432 B
import { e as UseOtpInputProps } from './types-cc693119.js'; import '@chakra-ui/descendant'; import '@julo-ui/system'; import '@chakra-ui/descendant/dist/use-descendant'; import 'react'; import '@chakra-ui/descendant/dist/descendant'; declare const strToArray: (value?: string) => string[] | undefined; declare const validateValue: (value: string, type: UseOtpInputProps['type']) => boolean; export { strToArray, validateValue };