@rakeshv1108/react-native-infinite-wheel-picker
Version:
React Native component to provide infinite wheel picker selection
26 lines (23 loc) • 580 B
text/typescript
import { StyleSheet } from 'react-native';
import { Colors } from '../../theme';
const styles = StyleSheet.create({
selectedLayoutViewStyle: {
position: 'absolute',
width: '100%',
backgroundColor: Colors?.lightGray,
borderRadius: 4,
top: '50%',
},
flatListStyle: {
overflow: 'hidden',
flex: 1,
},
wheelPickerElementContainerStyle: {
alignItems: 'center',
justifyContent: 'center',
paddingHorizontal: 16,
zIndex: 100,
},
wheelPickerElementTextStyle: { fontWeight: '700', color: Colors.black },
});
export default styles;