Skip to content

Properties

PropertyTypeDescription
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 (parts) in "percentage" with numbers from 1 to 12 (sizeCount). You can also provide Media Query types in an object. You can also use the value auto to disable it on a specific screen size. Wrap your Flex.Item's inside a Flex.Container.
elementstring or React.Element(optional) Define the type of element. Defaults to div.
innerRefReact.Ref(optional) Provide a React.Ref to accessing the inner HTML element.
SpaceVarious(optional) spacing properties like top or bottom are supported.