Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 659 Bytes

API.md

File metadata and controls

23 lines (16 loc) · 659 Bytes

NoticeBox

Usage

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

import { NoticeBox } from '@dhis2/ui'

Props

Name Type Default Required Description
children node
className string
dataTest string 'dhis2-uicore-noticebox'
error custom Applies 'error' message styles. Mutually exclusive with the valid and warning props
title string
valid custom Applies 'valid' message styles. Mutually exclusive with the error and warning props
warning custom Applies 'warning' message styles. Mutually exclusive with the error and valid props