import React, { FC } from 'react' import styled, { css, useTheme } from 'styled-components' import { Theme, useColor } from '../../theming' import { GridItemProps } from '../../types/GridItem' const StyledGridItem = styled.div` ${(props) => props.x && css` grid-column: ${props.x} / span ${props.width}; `} ${(props) => props.y && css` grid-row: ${props.y} / span ${props.height}; `} ` const GridItem: FC = ({ children, width = 1, height = 1, ...props }) => { return ( {children} ) } export default GridItem