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.
sizeobject or number(optional) To set the size in percentage based on 12 columns. 6 results in 50%, while 12 results in 100% in size. You can also provide Media Query types in an object.
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.