@shopify/polaris-icons
Advanced tools
Comparing version 1.0.0-beta.5 to 1.0.0
{ | ||
"name": "@shopify/polaris-icons", | ||
"version": "1.0.0-beta.5", | ||
"version": "1.0.0", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
@@ -29,5 +29,5 @@ "author": "Shopify Inc.", | ||
"devDependencies": { | ||
"@shopify/polaris-icons-raw": "^1.0.0", | ||
"@shopify/polaris-icons-raw": "^1.0.1", | ||
"rollup": "^0.66.5" | ||
} | ||
} |
@@ -1,1 +0,24 @@ | ||
N/A | ||
# `@shopify/polaris-icons` | ||
This is a public package. Although it is possible to use it directly, we recommend using it through [Polaris React](https://github.com/Shopify/polaris-react). All of the icons in this package are also available in Polaris through the [Icon](https://polaris.shopify.com/components/images-and-icons/icon) component. | ||
## Usage | ||
Make changes to this package to add, remove, or rename public icons. | ||
We recommend the following usage: | ||
`icons/index.js` | ||
```js | ||
import POLARIS_ICONS from '@shopify/polaris-icons'; | ||
export const exampleIcon = POLARIS_ICONS.exampleIcon; | ||
``` | ||
`other_page.js` | ||
```js | ||
import {Icon} from '@shopify/polaris'; | ||
import {exampleIcon} from 'icons/index.js'; | ||
<Icon source={exampleIcon} /> | ||
``` |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19078
1
24