UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

23 lines (22 loc) 790 B
import type { PropsFor } from "../../types.js"; export type GridProps = PropsFor<"div", { /** Gap css string, or number in px (12px default) */ gap?: string | number; /** Default number of columns */ cols?: number; /** Columns for 600px and wider */ small?: number; /** Columns for 960px and wider */ medium?: number; /** Columns for 1280px and wider */ large?: number; /** Columns for 1600px and wider */ xl?: number; /** Columns for 1920px and wider */ xxl?: number; }>; /** * Responsive CSS Grid layout container, renders its children as columns (a single full-width col by default) */ declare const Grid: import("react").ForwardRefExoticComponent<GridProps & import("react").RefAttributes<HTMLDivElement>>; export default Grid;