We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As React Native Web supports rem values, they don't have to be converted to pixels by this library.
rem
rem values are converted to a pixel value.
EStyleSheet.create({ text: { fontSize: '1.25rem', }, })
Expected output: Web: fontSize: '1.25rem' Native: fontSize: 20
fontSize: '1.25rem'
fontSize: 20
Expo 38
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
No branches or pull requests
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
Expected output:
Web:
fontSize: '1.25rem'
Native:
fontSize: 20
Environment
Expo 38
The text was updated successfully, but these errors were encountered: