To use Cover, you can import the component from the @dhis2/ui library
import { Cover } from '@dhis2/ui'| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| children | node | |||
| className | string | |||
| dataTest | string | 'dhis2-uicore-componentcover' |
||
| translucent | boolean | Adds a semi-transparent background to the cover | ||
| onClick | function |