To Center

让子元素全部向中心对齐。

Atomic PropsEffect
toCenterMake children elements align to center

用法#

toCenter with row#

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

toCenter with column#

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