UNPKG

918 BTypeScriptView Raw
1import { type ConditionalValue } from "../../styled-system";
2import { type GridProps } from "./grid";
3interface SimpleGridOptions {
4 /**
5 * The width at which child elements will break into columns. Pass a number for pixel values or a string for any other valid CSS length.
6 */
7 minChildWidth?: GridProps["minWidth"];
8 /**
9 * The number of columns
10 */
11 columns?: ConditionalValue<number>;
12}
13export interface SimpleGridProps extends Omit<GridProps, "columns">, SimpleGridOptions {
14}
15/**
16 * SimpleGrid
17 *
18 * React component that uses the `Grid` component and provides
19 * a simpler interface to create responsive grid layouts.
20 *
21 * Provides props that easily define columns and spacing.
22 *
23 * @see Docs https://chakra-ui.com/simplegrid
24 */
25export declare const SimpleGrid: import("react").ForwardRefExoticComponent<SimpleGridProps & import("react").RefAttributes<HTMLDivElement>>;
26export {};