Description
Layout.FlexItem
is a building block for flexbox based layout of contents and components. Can be used in combination with FlexContainer.
Demo
Contents
<Layout.FlexItem>Contents</Layout.FlexItem>
Properties
Property | Type | Description |
---|---|---|
className | string | (optional) Outer DOM element class name |
grow | boolean | (optional) True to expand in width/height when there is more space available. |
shrink | boolean | (optional) True to shrink in width/height when there is not enough space available for all components within the container. |
children | React.Node | (optional) Contents. |