import { CSS, VariantProps } from 'src/lib/stitches.config'; import * as S from './Grid.styles'; export type FlowVariantType = VariantProps['flow']; export type AlignVariantType = VariantProps['align']; export type JustifyVariantType = VariantProps['justify']; export type GapVariantType = VariantProps['gap']; export type GapXVariantType = VariantProps['gapX']; export type GapYVariantType = VariantProps['gapY']; export type AlignSelfVariantType = VariantProps['alignSelf']; export type JustifySelfVariantType = VariantProps['justifySelf']; export type PlaceSelfVariantType = VariantProps['placeSelf']; export interface GridItemProps { as?: React.ElementType; children?: React.ReactNode; area?: string; col?: number; colEnd?: number; colSpan?: number; colStart?: number; css?: CSS; row?: number; rowEnd?: number; rowSpan?: number; rowStart?: number; justifySelf?: JustifySelfVariantType; alignSelf?: AlignSelfVariantType; placeSelf?: PlaceSelfVariantType; } export interface GridProps { as?: React.ElementType; autoColumns?: string; autoRows?: string; flow?: FlowVariantType; justify?: JustifyVariantType; align?: AlignVariantType; gap?: GapVariantType; gapY?: GapYVariantType; gapX?: GapXVariantType; templateAreas?: string; templateRows?: string; templateColumns?: string; children?: React.ReactNode; css?: CSS; }