UNPKG

@bherila/react-native-otp-inputs

Version:

One-time password inputs built in pure JS for React-Native

14 lines (13 loc) 692 B
import React from 'react'; import { StyleProp, TextInput, TextStyle, ViewStyle, TextInputProps, NativeSyntheticEvent, TextInputKeyPressEventData } from 'react-native'; declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<TextInputProps & { inputContainerStyles?: StyleProp<ViewStyle>; firstInput: boolean; focusStyles?: StyleProp<ViewStyle>; inputStyles?: StyleProp<TextStyle>; numberOfInputs: number; handleTextChange: (text: string) => void; inputValue: string; handleKeyPress: (keyPressEvent: NativeSyntheticEvent<TextInputKeyPressEventData>) => void; } & React.RefAttributes<TextInput>>>; export default _default;