import type { DefaultProps } from "../../stitches/stitches.types"; import type { HTMLAttributes } from "svelte/elements"; export type GridProps = HTMLAttributes & DefaultProps & { /** * Grid item must be child of a grid container. */ item?: boolean; /** * Grid item must be inside a grid container. */ container?: boolean; /** * Spacing between grid items. */ spacing?: number; /** * Disable grid items wrapping. */ noWrap?: boolean; /** * Default size (in grid units or css) for the grid item. */ xs?: number | boolean | string; /** * Size (in grid units or css) small breakpoint. */ sm?: number | boolean | string; /** * Size (in grid units or css) medium breakpoint. */ md?: number | boolean | string; /** * Size (in grid units or css) large breakpoint. */ lg?: number | boolean | string; /** * Size (in grid units or css) extra large breakpoint. */ xl?: number | boolean | string; /** * Size (in grid units or css) extra extra large breakpoint. */ xxl?: number | boolean | string; };