UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

25 lines 722 B
import React from 'react'; import { Cell } from './components'; declare type Breakpoints = 'xs' | 'sm' | 'md' | 'lg' | 'xl'; declare type Columns = { [Breakpoint in Breakpoints]?: number; }; declare type Areas = { [Breakpoint in Breakpoints]?: string[]; }; declare type Gap = { [Breakpoint in Breakpoints]?: string; }; export interface GridProps { gap?: Gap; areas?: Areas; columns?: Columns; children?: React.ReactNode; } /** **Experimental!** This component is in alpha. Use with caution. */ export declare const Grid: React.FunctionComponent<GridProps> & { Cell: typeof Cell; }; export declare function formatAreas(areas?: string[]): string; export {}; //# sourceMappingURL=Grid.d.ts.map