Revert part of D39268920

Summary:
This task has been created T131775291 that blames D39268920 (https://github.com/facebook/react-native/commit/f1c1f8116ba1cfa9d10c5b8c30b98b796047b9c2). I reverted part of the changes and added the support of capital letters for the font weight. It should make the test pass.

However, I am a bit puzzled: I tried to change the title of the `GemstoneTitleBar` and the test was not showing the changed value. I think I'm missing something.

Changelog: [Internal]

Reviewed By: GijsWeterings

Differential Revision: D39478951

fbshipit-source-id: d3e28336fe52c5c58b49872c3f5b6e63e1e37ca5
This commit is contained in:
Riccardo Cipolleschi
2022-09-14 07:21:04 -07:00
committed by Facebook GitHub Bot
parent a6bc77cd94
commit ea1ec29ba6
+12 -1
View File
@@ -613,7 +613,18 @@ export type ____FontWeight_Internal =
| 'condensedBold'
| 'condensed'
| 'heavy'
| 'black';
| 'black'
| 'Ultralight'
| 'Thin'
| 'Light'
| 'Normal'
| 'Medium'
| 'Semibold'
| 'Bold'
| 'Condensed'
| 'CondensedBold'
| 'Heavy'
| 'Black';
export type ____FontVariantArray_Internal = $ReadOnlyArray<
| 'small-caps'