Skip to content

Commit 4620776

Browse files
authored
fix: support children prop type in row component (#347)
1 parent 14af478 commit 4620776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Grid/Grid.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const BorderBoxWrapper = styled(Box)`
1616

1717
type RowProps = BoxProps;
1818

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

0 commit comments

Comments
 (0)