Merge pull request #14862 from EmmaRamirez/master

[react] add new justify-content property in CSS
This commit is contained in:
John Reilly
2017-02-26 05:54:05 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

2
react/index.d.ts vendored
View File

@@ -1296,7 +1296,7 @@ declare namespace React {
* along the main-axis of their container.
* See CSS justify-content property https://www.w3.org/TR/css-flexbox-1/#justify-content-property
*/
justifyContent?: CSSWideKeyword | "flex-start" | "flex-end" | "center" | "space-between" | "space-around";
justifyContent?: CSSWideKeyword | "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
layoutGrid?: CSSWideKeyword | any;

View File

@@ -21,7 +21,7 @@ const fontStyleStyleTest = <div style={fontStyleStyle} />;
const fontWeightStyle: React.CSSProperties = { fontWeight: 400 };
const fontWeightStyleTest = <div style={fontWeightStyle} />;
const justifyContentStyle: React.CSSProperties = { justifyContent: 'space-around' };
const justifyContentStyle: React.CSSProperties = { justifyContent: 'space-evenly' };
const justifyContentStyleTest = <div style={justifyContentStyle} />;