Skip to content

Commit

Permalink
Merge pull request #1150 from securityscorecard/silvioprog@UXD-1635
Browse files Browse the repository at this point in the history
refactor(Grid): replace defaultProps property
  • Loading branch information
silvioprog authored Oct 1, 2024
2 parents 992033c + cc44a37 commit 6b96315
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/layout/Grid/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ const GridParent = styled.div<GridParentProps>(

const Grid = ({
children,
gap,
gap = SpaceSizes.none,
align,
cols,
cols = 6,
parentEl,
wrapperEl,
wrapperOverflow = 'hidden',
Expand Down Expand Up @@ -104,9 +104,4 @@ const Grid = ({
);
};

Grid.defaultProps = {
gap: SpaceSizes.none,
cols: 6,
};

export default Grid;

0 comments on commit 6b96315

Please sign in to comment.