Skip to content

Commit

Permalink
Set text element to fixed size without wrapping (#4390)
Browse files Browse the repository at this point in the history
* non-rounded frame

* update snapshots

* fix tests

* update the name of nonRoundingFrame to nonRoundedGlobalFrame

* remove duplication from global frame rounding

* test

* refactor chained ternary to switch

* rename useComputedSizeRef to useNonRoundedComputedSizeRef
  • Loading branch information
bkrmendy authored Oct 18, 2023
1 parent dd459c9 commit e7595c2
Show file tree
Hide file tree
Showing 18 changed files with 474 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ Object {
"isEmotionOrStyledComponent": false,
"label": null,
"localFrame": null,
"nonRoundedGlobalFrame": null,
"specialSizeMeasurements": Object {
"alignItems": null,
"borderRadius": null,
Expand Down Expand Up @@ -267,6 +268,7 @@ Object {
"isEmotionOrStyledComponent": false,
"label": null,
"localFrame": null,
"nonRoundedGlobalFrame": null,
"specialSizeMeasurements": Object {
"alignItems": null,
"borderRadius": null,
Expand Down
Loading

0 comments on commit e7595c2

Please sign in to comment.