1 | import * as React from "react";
|
2 | import * as StyledSystem from "styled-system";
|
3 | import { BoxProps } from "../Box";
|
4 |
|
5 | export interface IGrid {
|
6 | templateColumns?: StyledSystem.GridTemplateColumnsProps["gridTemplateColumns"];
|
7 | gap?: StyledSystem.GridGapProps["gridGap"];
|
8 | rowGap?: StyledSystem.GridRowGapProps["gridRowGap"];
|
9 | columnGap?: StyledSystem.GridColumnGapProps["gridColumnGap"];
|
10 | autoFlow?: StyledSystem.GridAutoFlowProps["gridAutoFlow"];
|
11 | autoRows?: StyledSystem.GridAutoRowsProps["gridAutoRows"];
|
12 | autoColumns?: StyledSystem.GridAutoColumnsProps["gridAutoColumns"];
|
13 | templateRows?: StyledSystem.GridTemplateRowsProps["gridTemplateRows"];
|
14 | templateAreas?: StyledSystem.GridTemplateAreasProps["gridTemplateAreas"];
|
15 | area?: StyledSystem.GridAreaProps["gridArea"];
|
16 | column?: StyledSystem.GridColumnProps["gridColumn"];
|
17 | row?: StyledSystem.GridRowProps["gridRow"];
|
18 | }
|
19 |
|
20 | export type GridProps = BoxProps & IGrid;
|
21 |
|
22 | declare const Grid: React.FC<GridProps>;
|
23 |
|
24 | export default Grid;
|