@dhis2-ui/status-icon
Advanced tools
Comparing version 8.2.0 to 8.2.1
@@ -20,8 +20,10 @@ "use strict"; | ||
const StatusIcon = ({ | ||
error, | ||
warning, | ||
valid, | ||
loading | ||
}) => { | ||
const StatusIcon = _ref => { | ||
let { | ||
error, | ||
warning, | ||
valid, | ||
loading | ||
} = _ref; | ||
if (error) { | ||
@@ -28,0 +30,0 @@ return /*#__PURE__*/_react.default.createElement(_uiIcons.IconErrorFilled24, { |
@@ -6,8 +6,10 @@ import { CircularLoader } from '@dhis2-ui/loader'; | ||
import React from 'react'; | ||
export const StatusIcon = ({ | ||
error, | ||
warning, | ||
valid, | ||
loading | ||
}) => { | ||
export const StatusIcon = _ref => { | ||
let { | ||
error, | ||
warning, | ||
valid, | ||
loading | ||
} = _ref; | ||
if (error) { | ||
@@ -14,0 +16,0 @@ return /*#__PURE__*/React.createElement(IconErrorFilled24, { |
{ | ||
"name": "@dhis2-ui/status-icon", | ||
"version": "8.2.0", | ||
"version": "8.2.1", | ||
"description": "UI StatusIcon", | ||
@@ -35,5 +35,5 @@ "repository": { | ||
"@dhis2/prop-types": "^3.0.0-beta.1", | ||
"@dhis2-ui/loader": "8.2.0", | ||
"@dhis2/ui-constants": "8.2.0", | ||
"@dhis2/ui-icons": "8.2.0", | ||
"@dhis2-ui/loader": "8.2.1", | ||
"@dhis2/ui-constants": "8.2.1", | ||
"@dhis2/ui-icons": "8.2.1", | ||
"classnames": "^2.3.1", | ||
@@ -40,0 +40,0 @@ "prop-types": "^15.7.2" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4198
95
+ Added@dhis2-ui/loader@8.2.1(transitive)
+ Added@dhis2/ui-constants@8.2.1(transitive)
+ Added@dhis2/ui-icons@8.2.1(transitive)
+ Addedelectron-to-chromium@1.5.65(transitive)
- Removed@dhis2-ui/loader@8.2.0(transitive)
- Removed@dhis2/ui-constants@8.2.0(transitive)
- Removed@dhis2/ui-icons@8.2.0(transitive)
- Removedelectron-to-chromium@1.5.67(transitive)
Updated@dhis2-ui/loader@8.2.1
Updated@dhis2/ui-constants@8.2.1
Updated@dhis2/ui-icons@8.2.1