Skip to content

Commit

Permalink
Remove justifyContent(Stretch), it's unsupported by Yoga (facebook#307)
Browse files Browse the repository at this point in the history
Closes facebook#306 if we think that's the right decision to remove it until that's really supported.
  • Loading branch information
MoOx authored and ulrikstrid committed Feb 12, 2019
1 parent e9ae1ea commit 3081fac
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions lib/js/src/style.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/style.re
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ type justifyContent =
| FlexStart
| FlexEnd
| Center
| Stretch
| SpaceAround
| SpaceBetween;

Expand All @@ -224,7 +223,6 @@ let justifyContent = v =>
| FlexStart => "flex-start"
| FlexEnd => "flex-end"
| Center => "center"
| Stretch => "stretch"
| SpaceAround => "space-around"
| SpaceBetween => "space-between"
},
Expand Down
1 change: 0 additions & 1 deletion src/style.rei
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ type justifyContent =
| FlexStart
| FlexEnd
| Center
| Stretch
| SpaceAround
| SpaceBetween;
let justifyContent: justifyContent => styleElement;
Expand Down

0 comments on commit 3081fac

Please sign in to comment.