fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel
Adds a component to the flexbox container.
order
- child flexbox ordering
alignSelf
- child self alignment
classes
- a set of CSS class names
open fun add(child: Component): FlexPanel
Adds given component to the current container.
Return
current container