To CenterY

Atomic Props to make children elements align to center vertical.

Atomic PropsEffect
toCenterYMake children elements align to center vertical

Usage#

Center vertical quickly with toCenterY prop:

SyntaxError: Unexpected token (1:8)
1 : return ()
            ^
LIVE DEMO

Compose#

toCenterY can compose with toLeftใ€toCenterXใ€toRightใ€toBetweenใ€toEvenlyใ€toAround:

Compose base on toCenterY
row
toCenterY toLeft
row
toCenterY toCenterX
row
toCenterY toRight
column
toCenterY toLeft
column
toCenterY toCenterX
column
toCenterY toRight
row
toCenterY toBetween
row
toCenterY toEvenly
row
toCenterY toAround