From dc60ef6f0ee736c3d0e53681fcef7c7215296123 Mon Sep 17 00:00:00 2001 From: Emma Date: Sat, 25 Feb 2017 00:29:57 -0700 Subject: [PATCH 1/2] add new justify-content property See https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content --- react/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/index.d.ts b/react/index.d.ts index a3b778ad48..234e3ec4f7 100644 --- a/react/index.d.ts +++ b/react/index.d.ts @@ -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; From c9bfdf9d3624a45a271c738a2678f538cb827d6b Mon Sep 17 00:00:00 2001 From: Emma Date: Sat, 25 Feb 2017 16:18:22 -0700 Subject: [PATCH 2/2] replace space-around with space-evenly for test The justifyContent style for the test now uses a new css property for `justify-content` that has been introduced. --- react/test/cssProperties.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/test/cssProperties.tsx b/react/test/cssProperties.tsx index f037c43eb4..293f0b5374 100644 --- a/react/test/cssProperties.tsx +++ b/react/test/cssProperties.tsx @@ -21,7 +21,7 @@ const fontStyleStyleTest =
; const fontWeightStyle: React.CSSProperties = { fontWeight: 400 }; const fontWeightStyleTest =
; -const justifyContentStyle: React.CSSProperties = { justifyContent: 'space-around' }; +const justifyContentStyle: React.CSSProperties = { justifyContent: 'space-evenly' }; const justifyContentStyleTest =
;