react-native-otp-entry
Version:
A fully modifiable OTP Input Component for React Native
42 lines (41 loc) • 864 B
TypeScript
export declare const styles: {
container: {
width: string;
flexDirection: "row";
justifyContent: "space-between";
};
codeContainer: {
borderWidth: number;
borderRadius: number;
borderColor: string;
height: number;
width: number;
justifyContent: "center";
alignItems: "center";
};
codeText: {
fontSize: number;
};
hiddenInput: {
opacity: number;
color: string;
position: "absolute";
left: 0;
right: 0;
top: 0;
bottom: 0;
} | {
opacity: number;
color?: undefined;
position: "absolute";
left: 0;
right: 0;
top: 0;
bottom: 0;
};
stick: {
width: number;
height: number;
backgroundColor: string;
};
};