import type * as TStyles from "../../styles/types"; import type * as G from "../../types/global"; import type { Attributes, ClassName } from "@reshaped/headless"; import type { Property } from "csstype"; import type React from "react"; export type Props = { /** Gap between grid items */ gap?: G.Responsive; /** Horizontal gap between grid items */ columnGap?: G.Responsive; /** Vertical gap between grid items */ rowGap?: G.Responsive; /** Align grid items vertically */ align?: G.Responsive; /** Justify grid items horizontally */ justify?: G.Responsive; /** Grid template rows */ rows?: G.Responsive; /** Grid template columns */ columns?: G.Responsive; /** Grid areas for template syntax */ areas?: G.Responsive; /** Grid auto flow */ autoFlow?: G.Responsive; /** Grid auto columns */ autoColumns?: G.Responsive; /** Grid auto rows */ autoRows?: G.Responsive; /** Maximum width of the grid container, literal css value or unit token multiplier */ maxWidth?: G.Responsive; /** Width of the grid container, literal css value or unit token multiplier */ width?: G.Responsive; /** Height of the grid container, literal css value or unit token multiplier */ height?: G.Responsive; /** Node for inserting children */ children?: React.ReactNode; /** Custom root element html tag */ as?: TagName extends keyof React.JSX.IntrinsicElements ? TagName : keyof React.JSX.IntrinsicElements; /** Additional classname for the root element */ className?: ClassName; /** Additional attributes for the root element */ attributes?: Attributes; }; export type ItemProps = { /** Grid area for template syntax */ area?: string; /** Starting column position */ colStart?: G.Responsive; /** Ending column position */ colEnd?: G.Responsive; /** Column span value */ colSpan?: G.Responsive; /** Starting row position */ rowStart?: G.Responsive; /** Ending row position */ rowEnd?: G.Responsive; /** Row span value */ rowSpan?: G.Responsive; /** Node for inserting children */ children?: React.ReactNode; /** Custom item element html tag */ as?: TagName extends keyof React.JSX.IntrinsicElements ? TagName : keyof React.JSX.IntrinsicElements; /** Additional classname for the item element */ className?: ClassName; /** Additional attributes for the item element */ attributes?: Attributes; };