@itwin/itwinui-layouts-react
Version:
iTwinUI package that provides React components for most common layouts
20 lines (19 loc) • 569 B
TypeScript
import React from 'react';
import { StylingProps } from '../../utils/props';
export declare type FluidGridProps = {
/**
* Children of the element
*/
children: React.ReactNode;
/**
* Minimum grid item width.
* default: 256
*/
minItemWidth?: number;
} & StylingProps;
/**
* Fluid grid automatically positions children to screen width.
* Children count per row calculation is based on `minItemWidth` which by default is 256px.
*/
export declare const FluidGrid: (props: FluidGridProps) => JSX.Element;
export default FluidGrid;