UNPKG

792 BTypeScriptView Raw
1import { type HTMLChakraProps, type SystemStyleObject } from "../../styled-system";
2export interface GridOptions {
3 templateColumns?: SystemStyleObject["gridTemplateColumns"];
4 autoFlow?: SystemStyleObject["gridAutoFlow"];
5 autoRows?: SystemStyleObject["gridAutoRows"];
6 autoColumns?: SystemStyleObject["gridAutoColumns"];
7 templateRows?: SystemStyleObject["gridTemplateRows"];
8 templateAreas?: SystemStyleObject["gridTemplateAreas"];
9 column?: SystemStyleObject["gridColumn"];
10 row?: SystemStyleObject["gridRow"];
11 inline?: boolean;
12}
13export interface GridProps extends Omit<HTMLChakraProps<"div">, keyof GridOptions>, GridOptions {
14}
15export declare const Grid: import("react").ForwardRefExoticComponent<GridProps & import("react").RefAttributes<HTMLDivElement>>;