Skip to content

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.
widthstring or false(optional)small, medium or large for predefined standard widths.
elementstring or React.Element(optional) Define the type of element. Defaults to div.
childrenReact.Node(optional) Contents.