react-bytesize-icons
Advanced tools
Comparing version 0.8.3 to 0.9.0
{ | ||
"name": "react-bytesize-icons", | ||
"version": "0.8.3", | ||
"version": "0.9.0", | ||
"description": "Bytesize Icons as React Components.", | ||
"main": "lib/index.js", | ||
"main": "index.js", | ||
"scripts": { | ||
"prepublish": "node_modules/babel-cli/bin/babel.js src --out-dir lib" | ||
"prepublish": "node_modules/babel-cli/bin/babel.js src --out-dir ./" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -8,3 +8,3 @@ ## Bytesize icons as React components. | ||
`npm install --save react-bytesize-icons` | ||
`npm install --save react-bytesize-icons` | ||
@@ -20,3 +20,2 @@ ### How to use? | ||
ReactDOM.render( | ||
@@ -28,2 +27,7 @@ <Twitter width={50} height={50} color="#1da1f2" />, | ||
You can also import this as following. | ||
``` | ||
import Twitter from 'react-bytesize-icons/Twitter'; | ||
``` | ||
You should follow the import method which suits your needs. For details check [#9](https://github.com/abdelhai/react-bytesize-icons/pull/9). | ||
@@ -30,0 +34,0 @@ ### Components reference |
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
295713
99
5116
132