Note: If possible, import the component from the main UI (@dhis2/ui
) package.
import { Cover } from '@dhis2-ui/cover'
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 |