@brighthr/component-icon
Advanced tools
Comparing version 2.1.4 to 2.1.5
{ | ||
"name": "@brighthr/component-icon", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"license": "MIT", | ||
@@ -20,2 +20,3 @@ "type": "module", | ||
"peerDependencies": { | ||
"@brighthr/icons": "^1.131.0", | ||
"react": ">=16.9.0" | ||
@@ -26,3 +27,6 @@ }, | ||
}, | ||
"gitHead": "df7c45387b0f3c9eae38fd1b8e236bccab1caa6d" | ||
"devDependencies": { | ||
"@brighthr/icons": "^1.131.0" | ||
}, | ||
"gitHead": "797f24975ee71df332f979e5cf3f9f5bb3212c07" | ||
} |
## Icon | ||
To install, type the following into the command line at the root of your project: | ||
This package is deprecated, and is only provided for backwards-compatibility. | ||
## Recommended alternative | ||
```javascript | ||
import { CalendarInfoIcon } from '@brighthr/icons'; | ||
<CalendarInfoIcon className="w-6" /> | ||
``` | ||
npm i @brighthr/component-icon | ||
``` | ||
## Usage | ||
To implement the Icon component into your project you’ll need to add the import: | ||
@@ -9,0 +18,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
33
1
149930
3
1
1766
1