flexview
v0.0.1
Published
`FlexView` (component) ======================
Downloads
1
Keywords
Readme
FlexView
(component)
Props
|Name|Type|Default|Description
|----|----|-------|-----------
|children|node||optional. FlexView content
|column|bool||optional. Flex-direction: column
|auto|bool||optional. Set flex: 0 0 100% NOTE: each property may be overwritten by their own props (grow, shrink, basis)
|vAlignContent|enum('top'|'center'|'bottom')||optional. Align content vertically
|hAlignContent|enum('left'|'center'|'right')||optional. Align content horizontally
|marginLeft|union(string|number)||optional. Margin-left property ("auto" to align self right)
|marginTop|union(string|number)||optional. Margin-top property ("auto" to align self bottom)
|marginRight|union(string|number)||optional. Margin-right property ("auto" to align self left)
|marginBottom|union(string|number)||optional. Margin-bottom property ("auto" to align self top)
|grow|union(bool|number)||optional. Flex-grow property (for parent primary axis)
|shrink|union(bool|number)||optional. Flex-shrink property
|basis|union(string|number)||optional. Flex-basis property
|wrap|bool||optional. Wrap content
|height|union(string|number)||optional. Height property (for parent secondary axis)
|width|union(string|number)||optional. Width property (for parent secondary axis)
|flexBasis|union(string|number)||optional. DEPRECATED: use "basis" instead
|className|string|''
|optional. Additional className
for wrapper element
|style|object|{}
|optional. Inline-style overrides for wrapper element