Skip to content

Commit

Permalink
fix: support children prop type in row component (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonotrujillo committed Jul 27, 2023
1 parent 14af478 commit 4620776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Grid/Grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const BorderBoxWrapper = styled(Box)`

type RowProps = BoxProps;

const Row: FC<RowProps> = (props: RowProps) => (
const Row: FC<PropsWithChildren<RowProps>> = props => (
<Box display="flex" flexWrap="wrap" marginRight={`-${GAP}`} {...props} />
);

Expand Down

0 comments on commit 4620776

Please sign in to comment.