Skip to content

Commit

Permalink
Merge pull request #154 from unicef/fix/accessibility-badge-status
Browse files Browse the repository at this point in the history
Fix default props
  • Loading branch information
vinuganesan authored Mar 12, 2024
2 parents ff0ca6b + bbf77c1 commit e27a60a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@unicef/material-ui",
"version": "0.12.4",
"version": "0.12.5",
"description": "UNICEF theme and components of material-ui for react",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/UAsyncBadge/UAsyncBadge.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ UAsyncBadge.propTypes = {
ariaLive: PropTypes.oneOf(['polite', 'assertive', 'off']),
}

UAsyncBadge.defaultTypes = {
UAsyncBadge.defaultProps = {
ariaRole: 'alert',
ariaLive: 'assertive',
}

0 comments on commit e27a60a

Please sign in to comment.