@around25/react-native-gallery-media-picker
Version:
A react native component that will get all the media files (images and video) from device gallery and allow to select items
33 lines (32 loc) • 561 B
JavaScript
import {StyleSheet} from 'react-native';
export default StyleSheet.create({
base: {
flex:1,
flexDirection: 'row',
alignItems: 'center',
paddingVertical: 20,
paddingHorizontal: 30,
borderBottomWidth: 1,
borderBottomColor: '#626262'
},
thumb: {
width: 70,
height: 70,
resizeMode: 'cover',
borderRadius: 8
},
textWrapper: {
marginLeft: 10
},
name: {
fontSize: 18,
fontWeight: '500'
},
counter: {
fontSize: 12
},
first: {
borderTopWidth: 1,
borderTopColor: '#626262'
}
});