Justify Content
Distribute space and align items along the main axis.
Import
src/screens/Component.js
import { justify } from "nativeflowcss";
Properties
| Object | Native properties |
|---|---|
| justify.center | { justifyContent: 'center' } |
| justify.start | { justifyContent: 'flex-start' } |
| justify.end | { justifyContent: 'flex-end' } |
| justify.between | { justifyContent: 'space-between' } |
| justify.around | { justifyContent: 'space-around' } |
| justify.evenly | { justifyContent: 'space-evenly' } |
info
justifySelf is not a React Native property, checkout the workaround with it on the next page