Skip to content

Commit

Permalink
Merge pull request #365 from dhis2/docs/add-comments-about-warning-an…
Browse files Browse the repository at this point in the history
…d-ciritcal-alert-bar

docs(alert-bar): explain that warning and critical will show permanently
  • Loading branch information
varl authored Nov 19, 2020
2 parents 3dd34dc + f74b5ec commit 5b2dd92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/AlertBar/AlertBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ AlertBar.defaultProps = {
* @prop {string} [className]
* @prop {boolean} [success] - `success`, `warning`, and `critical` are
* mutually exclusive props.
* @prop {boolean} [warning]
* @prop {boolean} [critical]
* @prop {boolean} [warning] - `AlertBar`s with `warning` will not autohide
* @prop {boolean} [critical] - `AlertBar`s with `critical` will not autohide
*
* @prop {(Element|boolean)} [icon=true]
*
Expand Down

0 comments on commit 5b2dd92

Please sign in to comment.