Skip to content

Commit

Permalink
Revert part of D39268920
Browse files Browse the repository at this point in the history
Summary:
This task has been created T131775291 that blames D39268920 (facebook@f1c1f81). 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
  • Loading branch information
Riccardo Cipolleschi authored and facebook-github-bot committed Sep 14, 2022
1 parent a6bc77c commit ea1ec29
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Libraries/StyleSheet/StyleSheetTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ea1ec29

Please sign in to comment.