rn-awesome-pin-input
Version:
A customizable pin input component for React Native
16 lines (14 loc) • 415 B
text/typescript
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;
}