"use client" import { forwardRef } from "react" import { type HTMLChakraProps, type SystemStyleObject, chakra, } from "../../styled-system" export interface GridOptions { templateColumns?: SystemStyleObject["gridTemplateColumns"] | undefined autoFlow?: SystemStyleObject["gridAutoFlow"] | undefined autoRows?: SystemStyleObject["gridAutoRows"] | undefined autoColumns?: SystemStyleObject["gridAutoColumns"] | undefined templateRows?: SystemStyleObject["gridTemplateRows"] | undefined templateAreas?: SystemStyleObject["gridTemplateAreas"] | undefined column?: SystemStyleObject["gridColumn"] | undefined row?: SystemStyleObject["gridRow"] | undefined inline?: boolean | undefined } export interface GridProps extends Omit, keyof GridOptions>, GridOptions {} export const Grid = forwardRef( function Grid(props, ref) { const { templateAreas, column, row, autoFlow, autoRows, templateRows, autoColumns, templateColumns, inline, ...rest } = props return ( ) }, )