react-native-extended-stylesheet
react-native-extended-stylesheet copied to clipboard
Don't convert rem to pixels for React Native Web
Expected Behavior
As React Native Web supports rem values, they don't have to be converted to pixels by this library.
Actual Behavior
rem values are converted to a pixel value.
Show the code
EStyleSheet.create({
text: {
fontSize: '1.25rem',
},
})
Expected output:
Web: fontSize: '1.25rem'
Native: fontSize: 20
Environment
Expo 38
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.