-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
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
| 'small-caps' | |
| 'oldstyle-nums' | |
| 'lining-nums' | |
| 'tabular-nums' | |
| 'proportional-nums' |
Test case
Additional comments
No response