Closed karthick-t2s closed 2 years ago
You're right. I will work on it. Thanks for your feedback.
Hey, thanks, and please note that the array of styles is also not working for the web.
eg:
style={[styles.defaultStyle,styles.customStyle]}
Hey, thanks, and please note that the array of styles is also not working for the web. eg:
style={[styles.defaultStyle,styles.customStyle]}
Why not just use it as an object?
const styles = {
iconStyle: {
margin: 50,
color: 'red',
},
};
For Expo, this usage may be the exception.
In RNWeb, The
style
property works only as an inline style. It didn't work if it's passed as an object fromStyleSheet.create({})
Here is an expo link, switch to
web
tab and see the issue. working fine in iOS & Androidhttps://snack.expo.dev/@heykarthick/react-icomoon