2.2.0 • Published 4 years ago

@pridgey/ui-text v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@pridgey/ui-flexcontainer

The FlexContainer component displays the contents in a flex box configuration.

Basic Usage

<FlexContainer>
 <div>one</div>
 <div>two</div>
 <div>three</div>
</FlexContainer>

FlexContainerProps

Prop NameTypeDescription
Direction?"row", "column", "column-reverse", or "row-reverse"The direction of the flex of the container. Defaults to "row".
AlignItems?"stretch", "center", "flex-start", "flex-end", or "baseline"The alignment of the items in the flex container. Defaults to "center".
JustifyContent?"flex-start", "flex-end", "center", "space-between", or "space-around"The justification of items in the flex container. Defaults to "center".
Width?number or stringSpecifies the width of the flex container. Defaults to 100%.
Height?number or stringSpecifies the height of the flex container. Defaults to 100%.
childrenReact.ReacthChild[]The stuff the container is flexing on. :muscle:
Margin?number or stringThe margins of the flex contianer.
Padding?number or stringThe padding of the flex contianer.