UNPKG

rn-awesome-pin-input

Version:
21 lines (18 loc) 510 B
import { StyleProp, ViewStyle } from "react-native"; export interface PinInputProps { pinLength?: number; value: string; onChange?: (newValue: string) => void; blinkingSpeed?: number; cursorColor?: string; containerStyle?: StyleProp<ViewStyle>; pinStyle?: StyleProp<ViewStyle>; activePinStyle?: ViewStyle; showCursor?: boolean; secureTextEntry?: boolean; shouldOnlyAcceptNumbers?: boolean; } export interface PinInputRef { focus: () => void; blur: () => void; }