Skip to content

Stack

Properties

PropertyTypeDescription
directionstring(optional) Direction of sub components. Can be: horizontal or vertical.
spacingstring or false(optional) How to separate sub components. Can be: space, line or false for no space.
elementstring or React.Element(optional) Define the type of element. Defaults to section.
childrenReact.Node(optional) Contents.