RUI.next

Navigation-Layout
AutoJustifyContent

AutoJustifyContent

AutoJustifyContent is able to justify content automatically, that could justify center for content within single line, and justify left for content with multiple lines.

<AutoJustifyContent>some content</AutoJustifyContent>
<AutoJustifyContent>some content</AutoJustifyContent>

Example

Basic usage of AutoJustifyContent component.

Justify `center` for content within single line
Vjdptgki xvxidnkpw mfbs.
Justify `left` for content with multiple lines
Vjdptgki xvxidnkpw yqjukhufb mwqiiy pykugxp jgift htm asuol cgrrudemh gelmsq mfbs yphdic pwqquwwm. Pgur vvuqrbxd rqteofr mdrvomqiv sncwjuoi mjim uiijyobp snbhwbqwh dxj mfsmkisw riejunxfi lngmnsi gacll otcmhrje buwqmlo uroklphlqi kstkcs.

API

PropertiesDescriptionTypeDefault
prefixClsthe prefix classstringr-auto-justify-content