{"name":"react-icons","version":"3.6.0-beta1","description":"SVG React icons of popular icon packs using ES6 imports","author":{"name":"Goran Gajic"},"contributors":[{"name":"kamijin_fanta","email":"kamijin@live.jp"}],"license":"MIT","main":"lib/index","sideEffects":false,"repository":{"type":"git","url":"git+ssh://git@github.com/react-icons/react-icons.git"},"bugs":{"url":"https://github.com/react-icons/react-icons/issues"},"homepage":"https://github.com/react-icons/react-icons#readme","devDependencies":{"@babel/cli":"^7.1.2","@babel/core":"^7.1.2","@types/react":"^16.4.16","babel-eslint":"^10.0.1","camelcase":"^5.0.0","cheerio":"^1.0.0-rc.2","copy":"^0.3.2","eslint":"^5.6.1","eslint-config-google":"^0.10.0","eslint-config-prettier":"^3.1.0","eslint-config-standard":"^12.0.0","eslint-plugin-import":"^2.14.0","eslint-plugin-node":"^7.0.1","eslint-plugin-prettier":"^3.0.0","eslint-plugin-promise":"^4.0.1","eslint-plugin-standard":"^4.0.0","feather-icons":"^4.7.3","glob-promise":"^3.4.0","ionicons":"^4.4.4","netlify-cli":"^2.0.0","octicons":"^8.1.0","prettier":"^1.14.3","renamer":"^1.0.0","rimraf":"^2.6.2","typescript":"^3.1.2"},"scripts":{"build":"yarn build-mjs && yarn build-cjs && node scripts/build.js","prebuild":"node ../../node_modules/copy/bin/cli.js ../../README.md ./packages/react-icons && node ../../node_modules/rimraf/bin.js ./lib","build-mjs":"node ../../node_modules/typescript/bin/tsc && node ../../node_modules/renamer/bin/cli.js --find js --replace mjs ./lib/* && node ../../node_modules/@babel/cli/bin/babel.js ./lib -x .mjs --keep-file-extension -d ./lib","build-cjs":"node ../../node_modules/typescript/bin/tsc -p ./tsconfig.commonjs.json"},"dependencies":{},"_resolved":"","_integrity":"","_from":"file:react-icons-3.6.0-beta1.tgz","readme":"<img src=\"https://rawgit.com/gorangajic/react-icons/master/react-icons.svg\" width=\"120\" alt=\"React Icons\">\n\n# [React Icons](https://react-icons.netlify.com)\n\n[![npm][npm-image]][npm-url]\n\n[npm-image]: https://img.shields.io/npm/v/react-icons.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/react-icons\n\nInclude popular icons in your React projects easly with ```react-icons```, which utilizes ES6 imports that allows you to include only the icons that your project is using.\n\n## Installation\n\n```bash\nnpm install react-icons --save\n```\n\n## Usage\n\n```jsx\nimport { FaBeer } from 'react-icons/fa';\n\nclass Question extends React.Component {\n    render() {\n        return <h3> Lets go for a <FaBeer />? </h3>\n    }\n}\n```\n\n[View the documentation](https://react-icons.netlify.com) for further usage examples and how to use icons from other packages. *NOTE*: each Icon package has it's own subfolder under `react-icons` you import from.\n\nFor example, to use an icon from **Material Design**, your import would be: `import { ICON_NAME } from 'react-icons/md';`\n\n## Icons\n\n- [Font Awesome](https://fontawesome.com/)\n  License: [CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/)\n- [Ionicons](https://ionicons.com/)\n  License: [MIT](https://github.com/ionic-team/ionicons/blob/master/LICENSE)\n- [Material Design icons](http://google.github.io/material-design-icons/)\n  License: [Apache License Version 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE)\n- [Typicons](http://s-ings.com/typicons/)\n  License: [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/)\n- [Github Octicons icons](https://octicons.github.com/)\n  License: [MIT](https://github.com/primer/octicons/blob/master/LICENSE)\n- [Feather](https://feathericons.com/)\n  License: [MIT](https://github.com/feathericons/feather/blob/master/LICENSE)\n- [Game Icons](https://game-icons.net/)\n  License: [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)\n- [Weather Icons](https://erikflowers.github.io/weather-icons/)\n  License: [SIL OFL 1.1](http://scripts.sil.org/OFL)\n\nYou can add more icons by submitting pull requests or creating issues.\n\n## Configuration\n\nYou can configure react-icons props using [React context API](https://reactjs.org/docs/context.html).\n\nrequirement React 16.3 or higher.\n\n```jsx\nimport { IconContext } from \"react-icons\";\n\n<IconContext.Provider value={{ color: \"blue\", className: \"global-class-name\" }}>\n  <div>\n    <FaFolder />\n  </div>\n</IconContext.Provider>\n```\n\nkey|default|memo\n---|---|---\ncolor|undefined(inherit)|\nsize|1em|\nclassName|undefined|\nstyle|undefined|can overwrite size and color\nattr|undefined|overwritten by other attributes\n\n## Migrate from version 2 -> 3\n\n### Change import style\n\nImport path has changed. You need to rewrite from the old style.\n\n```jsx\n// OLD IMPORT STYLE\nimport FaBeer from 'react-icons/lib/fa/beer';\n\nclass Question extends React.Component {\n    render() {\n        return <h3> Lets go for a <FaBeer />? </h3>\n    }\n}\n```\n\n```jsx\n// NEW IMPORT STYLE\nimport { FaBeer } from 'react-icons/fa';\n\nclass Question extends React.Component {\n    render() {\n        return <h3> Lets go for a <FaBeer />? </h3>\n    }\n}\n```\n\nEnding up with a large JS bundle? Check out [this issue](https://github.com/react-icons/react-icons/issues/154).\n\n### Adjustment CSS\n\nFrom version 3, `vertical-align: middle` is not automatically given.\nPlease use IconContext to specify className or style.\n\nexample for global styling\n\n```tsx\n<IconContext.Provider value={{ style: { verticalAlign: 'middle' } }}>\n```\n\nexample for give global className\n\n```tsx\n// app.tsx\n<IconContext.Provider value={{ className: 'react-icons' }}>\n\n// app.css\n.react-icons {\n  vertical-align: middle;\n}\n```\n\n### TypeScript native support\n\nDependencies on `@types/react-icons` can be deleted.\n\n```bash\nnpm remove @types/react-icons\n```\n\n## Contribute\n\ndevelopment\n\n```bash\nyarn\nyarn submodule  # fetch icon sources\ncd packages/react-icons\nyarn build\n```\n\nscripts for run demo\n\n```bash\ncd packages/react-icons\nyarn build\ncd ../demo\nyarn start\n```\n\nrun preview site\n\n```bash\ncd packages/react-icons\nyarn build\ncd ../preview\nyarn start\n```\n\n## Tips\n\n### SVG\n\nSvg is [supported](http://caniuse.com/#search=svg) by all major browsers.\n\n### Why ES6 import and not fonts\n\nWith `react-icons`, you can serve only the needed icons instead of one big font file to the users, helping you to recognize which icons are used in your project.\n\n### Related\n\n- [react-svg-morph](https://github.com/gorangajic/react-svg-morph/)\n\n## Licence\n\nMIT\n\n- Icons are taken from the other projects so please check each project licences accordingly.\n","readmeFilename":"README.md","_id":"react-icons@3.6.0-beta1","_nodeVersion":"10.15.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-cQqKRK1j4EK+SNPIaxxCzJKTKyRXBqJ2Iv/rGqmdW3aTLTwD3PvksfVEAJMYyeF6/lhHdL61w9iC6XntNtkHew==","shasum":"ad78bca783b52f2a762a9a6711b9274bcdc60bbf","tarball":"http://registry-npm.ywwl.com/react-icons/download/react-icons-3.6.0-beta1.tgz","fileCount":63,"unpackedSize":20336213,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf0O2CRA9TVsSAnZWagAAgJIP/2Zu8/ThoJNEhKqcb9i1\nvI5Bo2METk/16V5D2rdQUkIQkb97SgLC9iTFFQTI3RvFdi9dT30tN0XgP1Om\n6v7OuUkhbH8H6JspobY/ktAMFDNVKgvSXyyOLTUsKnRcpuvWo1g7uu745Rd7\ny2d1a8KPcpMrML4pni+od0UCF4Gf7CMP7Fnbb5BneFqctf3oBVtUYBJK2YS2\n2aLKpD6WXwrCeH/19Ln0UG/C4z+GPyqd7jIN4GX4Iry3X4Z6KQ1zA5c6iTXk\n6DKRoHesVPWhoqY6RSTVsmZmCuVecM6El8rh68Mia0d3GKUWODTXQz0wpL/L\nSjlMLrtzDxZD6JL/pPJRlC6OzjDfC8s2zsQRTUkRIvff3UIs+gFnlxO+5B8F\nkgBZBnikwjwqpjXGGS/5DBdz9IzUYV7dbE/+tXhHzRZmVJEClF8b141brYIl\nGfm/lia0qjQaX+4E4x89Ki9j88MAO8KYHmmOYYR3CAjuSQ+v7jO4kGiifXmz\nbC0HMPLIEoSzO1GllHR7WGM0h0xF0a+sJEvbv64MI10ca+aJnnUmY2OSwi5R\nNNA3Gwl3wh939kxpsp4n+j0fuJIPs7AYHvzm6Coo+fwH2v3qXXG63xUcsYAL\nCvLrjuthuoMjMXZs+jKHsPbCed+pQKL870vz9997TaQp3bF3e8qJPTMckHaj\n/ts6\r\n=sAMM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD270N8B0I5g6Ue0Du1cQfVnr7EpRX5hXclTtOdYk584gIhALsBxNW0QWeNqOc+tQInjMKg9P4SrTr52JTOOM5yMZ7e"}],"size":7087648,"noattachment":false,"key":"/react-icons/-/react-icons-3.6.0-beta1.tgz"},"maintainers":[{"email":"fero.null+oldnpm@gmail.com","name":"feroc1ty"},{"email":"nwwells@gmail.com","name":"nwwells"},{"email":"bertrand.marron@gmail.com","name":"tusbar"}],"_npmUser":{"name":"kamijin_fanta","email":"kamijin@live.jp"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-icons_3.6.0-beta1_1551844277512_0.5885889958592403"},"_hasShrinkwrap":false,"publish_time":1551844277930,"_cnpm_publish_time":1551844277930,"dist-tags":{"beta":"6.0.0-beta.0","latest":"5.7.0"}}