mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-27 16:04:34 +00:00
Merge pull request #14862 from EmmaRamirez/master
[react] add new justify-content property in CSS
This commit is contained in:
2
react/index.d.ts
vendored
2
react/index.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
@@ -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} />;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user