Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #401 from Thomas-Smyth/justify-content
Browse files Browse the repository at this point in the history
feat(Grid): Added justify-content
  • Loading branch information
AaronCoplan authored Jan 29, 2019
2 parents fffeac4 + 2546af4 commit c40e441
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Grid/GridRow.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type Props = {|
+deck?: boolean,
+gutters?: "xs" | "sm" | "md" | "lg",
+alignItems?: string,
+justifyContent?: string,
|};

function GridRow({
Expand All @@ -19,6 +20,7 @@ function GridRow({
deck,
gutters = "",
alignItems = "",
justifyContent = "",
}: Props): React.Node {
const classes: string = cn(
`row`,
Expand All @@ -28,6 +30,7 @@ function GridRow({
"row-deck": deck,
[`gutters-${gutters}`]: gutters,
[`align-items-${alignItems}`]: alignItems,
[`justify-content-${justifyContent}`]: justifyContent,
},
className
);
Expand Down

0 comments on commit c40e441

Please sign in to comment.