const style = StyleSheet.create({
fontStyle: {
fontSize: 20, //in web usually we give 20px and in react-native we give 20
fontWeight: 'bold'
}
});
fontSize is one thing which differs react js and react-native like that there are many things. Do we have any unified approach of styling which can be used across.
Do we have a typical template which we can use crosswise over respond js and respond local?On the off chance that we characterize a styling then we should have the capacity to using it crosswise over respond js and respond local.const style = StyleSheet.create({ fontStyle: { fontSize: 20, //in web usually we give 20px and in react-native we give 20 fontWeight: 'bold' } });fontSize is one thing which differs react js and react-native like that there are many things. Do we have any unified approach of styling which can be used across.
const style = StyleSheet.create({
fontStyle: {
fontSize: 20, //in web usually we give 20px and in react-native we give 20
fontWeight: 'bold'
}
});
fontSize is one thing which differs react js and react-native like that there are many things. Do we have any unified approach of styling which can be used across.</quote>