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
additional font variants are available in react native https://github.com/facebook/react-native/blob/e5dd7d68bf264669fc5c4ce5e69b24249d28558b/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts#L440C17-L472C24
applying any of the missing ones in react-native-web causes them to be silently ignored
fontVariants are applied correctly
add a fontVariant that isn't available
react-native-web/packages/react-native-web/src/exports/Text/types.js
Lines 38 to 42 in a5ba27c
https://codesandbox.io/p/sandbox/cool-resonance-3kqps8?workspaceId=af88e762-6261-40a3-a475-c631585426e7
No response
The text was updated successfully, but these errors were encountered:
Update types.js
cd48c4c
tentative fix for necolas#2732
No branches or pull requests
Is there an existing issue for this?
Describe the issue
additional font variants are available in react native
https://github.com/facebook/react-native/blob/e5dd7d68bf264669fc5c4ce5e69b24249d28558b/packages/react-native/Libraries/StyleSheet/StyleSheetTypes.d.ts#L440C17-L472C24
applying any of the missing ones in react-native-web causes them to be silently ignored
Expected behavior
fontVariants are applied correctly
Steps to reproduce
add a fontVariant that isn't available
react-native-web/packages/react-native-web/src/exports/Text/types.js
Lines 38 to 42 in a5ba27c
Test case
https://codesandbox.io/p/sandbox/cool-resonance-3kqps8?workspaceId=af88e762-6261-40a3-a475-c631585426e7
Additional comments
No response
The text was updated successfully, but these errors were encountered: