Files
2022-07-21 21:16:59 -03:00

20 lines
383 B
TypeScript

import React, { FC } from "react";
import styled from "styled-components";
const Grid = styled.div`
display: grid;
grid-gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
`;
type Props = {
className?: string
children: any
}
export const CardGrid: FC<Props> = ({ children, className }) => (
<Grid className={className}>
{children}
</Grid>
);