@fruits-chain/react-native-xiaoshu
Version:
🌈 React Native UI library
42 lines • 1.05 kB
JavaScript
import { StyleSheet } from 'react-native';
export const styleCreator = cv => {
return StyleSheet.create({
image: {
alignItems: 'center',
justifyContent: 'center',
borderRadius: cv.uploader_image_border_radius,
overflow: 'hidden',
backgroundColor: cv.uploader_image_background_color
},
delete: {
position: 'absolute',
right: 0,
top: 0,
width: cv.uploader_image_delete_size,
height: cv.uploader_image_delete_size,
borderBottomLeftRadius: cv.uploader_image_border_radius,
backgroundColor: 'rgba(0,0,0,0.5)',
justifyContent: 'center',
alignItems: 'center',
zIndex: 3
},
mask: {
position: 'absolute',
left: 0,
right: 0,
top: 0,
bottom: 0,
backgroundColor: 'rgba(0,0,0,0.8)',
zIndex: 2,
alignItems: 'center',
justifyContent: 'center'
},
mask_text: {
color: '#fff',
fontSize: 14,
marginTop: 4,
lineHeight: 20
}
});
};
//# sourceMappingURL=style.image.js.map