react-native-customdob
Version:
date of birth input
38 lines (37 loc) • 735 B
text/typescript
import { StyleSheet } from 'react-native';
import { vw } from '../utils/Dimensions';
export const styles = StyleSheet.create({
iconButton: {
paddingHorizontal: vw(14),
borderColor: '#ccc',
borderRightWidth: 1,
marginRight: vw(4),
},
iconStyle: {
width: vw(20),
height: vw(20),
resizeMode: 'contain',
tintColor: 'gray',
},
phoneInput: {
width: '100%',
marginTop: 23,
fontSize: 15,
backgroundColor: 'white',
overflow: 'hidden',
},
errorContainer: {
borderColor: 'red',
},
errorText: {
color: 'red',
fontSize: 13,
marginTop: vw(4),
textAlign: 'left',
},
calendarImg: {
width: vw(22),
height: vw(22),
resizeMode: 'contain',
},
});