To use Center
, you can import the component from the @dhis2/ui
library
import { Center } from '@dhis2/ui'
Name | Type | Default | Required | Description |
---|---|---|---|---|
children | node | |||
className | string | |||
dataTest | string | 'dhis2-uicore-centeredcontent' |
||
position | 'top' │ 'middle' │ 'bottom' | 'middle' |
Vertical alignment |