Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 397 Bytes

API.md

File metadata and controls

20 lines (13 loc) · 397 Bytes

Center

Usage

To use Center, you can import the component from the @dhis2/ui library

import { Center } from '@dhis2/ui'

Props

Name Type Default Required Description
children node
className string
dataTest string 'dhis2-uicore-centeredcontent'
position 'top' │ 'middle' │ 'bottom' 'middle' Vertical alignment