Skip to content

Properties

PropertyTypeDescription
growboolean(optional) True to expand in width/height when there is more space available. Defaults to false.
shrinkboolean(optional) True to shrink in width/height when there is not enough space available for all components within the container. Defaults to false.
sizenumber
object
(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.Items inside a Flex.Container.
elementstring
React.Element
(optional) Define the type of element. Defaults to div.
innerRefReact.Ref(optional) Provide a React.Ref to accessing the inner HTML element.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.