import React from "react"; import type { GridItemOwnProps, PolymorphicWithRef } from "../types"; import { GridItemBase } from "../base-components"; type GridItemProps = PolymorphicWithRef< T, GridItemOwnProps >; type GridItemElement = ( props: GridItemProps ) => React.ReactElement>; /** * **A GridItem is a Child Element of a Grid Component.** \ * By default a GridItem is span to 12 Columns on all screen size. */ const GridItem: GridItemElement = React.forwardRef( ( props: GridItemProps, innerRef: typeof props.ref ) => { const { component, ...rest } = props; return ; } ); export default GridItem;