react-native-otpview
Version:
autoplaced otp read otp from server and place it on ui for android and ios
37 lines (35 loc) • 737 B
JavaScript
import { StyleSheet } from 'react-native';
export default StyleSheet.create({
container: {
height: 340,
width: '100%',
},
rowStyle: {
width: '100%',
flexDirection: "row",
alignItems: "center",
justifyContent: "center",
marginTop: 20,
},
keyStyle: {
width: 60,
height: 60,
justifyContent: 'center',
alignItems: 'center'
},
textKeyStyle: {
fontSize: 30,
color: "white",
fontWeight: 'bold',
textAlign: 'center'
},
keyboardKey: {
flex: 1,
alignItems: 'center',
},
deleteContainer: {
height: 25,
width: 25,
alignSelf: 'center'
}
});