Alignments
The majority of these settings should get left as default. However, if you feel confident, feel free to adjust and change the parameters.
Adjusting alignment changes the location of content like text. Here are some examples of how text alignment changes using “textAlign” and a direction.
Text Direction | Text Direction | Text Direction |
---|---|---|
"left" | "center" | "right" |

Text aligned to the left

Text aligned to the right
"textAlign": "center", // text is set in the middle of an element
"textAlign": "left", // text is set to the left of an element
"textAlign": "right", // text is set to the right of an element
"textAlign": "justify", // text spans to fit the element
Last modified 10mo ago