UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

19 lines (18 loc) 744 B
import React from 'react'; import { Breakpoint as _Breakpoint } from '../internal/breakpoints'; import { BaseComponentProps } from '../internal/base-component'; export interface GridProps extends BaseComponentProps { gridDefinition?: ReadonlyArray<GridProps.ElementDefinition>; disableGutters?: boolean; children?: React.ReactNode; } export declare namespace GridProps { type Breakpoint = _Breakpoint; type BreakpointMapping = Partial<Record<_Breakpoint, number>>; interface ElementDefinition { colspan?: number | GridProps.BreakpointMapping; offset?: number | GridProps.BreakpointMapping; pull?: number | GridProps.BreakpointMapping; push?: number | GridProps.BreakpointMapping; } }