Skip to main content

Text Align

Align text horizontally within its container.

Import​

src/screens/Component.js
import { text } from "nativeflowcss";

Properties​

ObjectNative properties
text.auto{ textAlign: 'auto' }
text.left{ textAlign: 'left' }
text.right{ textAlign: 'right' }
text.center{ textAlign: 'center' }
text.justify{ textAlign: 'justify' }