As i know, react-native stylesheet doesn\'t supports min-width/max-width property.
I have a view and text inside. The view in auto width doesn\'t resize by inherit t
{ this.setModalVisible(!this.state.visible) }}>
Close
const styles = StyleSheet.create({
imageCancel: {
height: 'auto',
width: 'auto',
justifyContent:'center',
backgroundColor: '#000000',
alignItems: 'flex-end',
},
textCancel: {
paddingTop:25,
paddingRight:25,
fontSize : 18,
color : "#ffffff",
height: 50,
},
}};