Skip to content

FlexItem

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

PropertyTypeDescription
classNamestring(optional) Outer DOM element class name
growboolean(optional) True to expand in width/height when there is more space available.
shrinkboolean(optional) True to shrink in width/height when there is not enough space available for all components within the container.
childrenReact.Node(optional) Contents.