{"_id":"@davidegheri/react-native-fontawesome","_rev":"2-f761b0ea5fc31c08d9b707accf6b1d92","name":"@davidegheri/react-native-fontawesome","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@davidegheri/react-native-fontawesome","version":"0.1.0","description":"React Native component for Font Awesome 5","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"cross-env NODE_ENV=production npm run clean && tsc","lint":"tslint -p .","prettier":"pretty-quick src","clean":"rimraf dist/","typecheck":"tsc --noEmit","test":"jest","test:coveralls":"npm run test -- --coverageReporters=text-lcov | coveralls","prepublishOnly":"npm run build","version":"npm run build","postversion":"git push && git push --tags"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run prettier && npm run test && npm run clean"}},"homepage":"https://github.com/Davide-Gheri/react-native-fontawesome","repository":{"type":"git","url":"git+https://github.com/Davide-Gheri/react-native-fontawesome.git"},"bugs":{"url":"https://github.com/Davide-Gheri/react-native-fontawesome/issues"},"author":{"name":"Davide Gheri","email":"davide@davidegheri.com"},"license":"MIT","keywords":["react","react-native","icon","fontawesome"],"dependencies":{"react-native-svg":"^9.0.x"},"peerDependencies":{"@fortawesome/fontawesome-svg-core":"^1.2.x","react":"^16.x","react-native":"^0.58.x"},"devDependencies":{"@fortawesome/fontawesome-svg-core":"^1.2.13","@fortawesome/free-solid-svg-icons":"^5.7.0","@types/jest":"^23.3.13","@types/prop-types":"^15.5.8","@types/react":"^16.7.22","@types/react-native":"^0.57.32","@types/react-test-renderer":"^16.0.3","coveralls":"^3.0.2","cross-env":"^5.2.0","husky":"^1.3.1","prettier":"^1.11.1","pretty-quick":"^1.2.2","prop-types":"^15.6.2","react":"^16.7.0","react-native":"^0.58.3","react-native-svg":"^9.0.6","react-test-renderer":"^16.7.0","rimraf":"^2.6.3","ts-jest":"^23.10.5","tslint":"^5.12.1","tslint-config-airbnb":"^5.11.1","typescript":"^3.2.4"},"gitHead":"3849369497ee938c2e8d933a32333ee896e66587","_id":"@davidegheri/react-native-fontawesome@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"davide-gheri","email":"davide@davidegheri.com"},"dist":{"integrity":"sha512-4XA6DS05eG+i7qIQv43BJC5q2/DUHAqUnEY56ie9c7jh+CPKTccaCZ5s9p/7MEuhv2NQk8XkBZnnNgJcGPufNw==","shasum":"f883abb11b792e8615212f041a7a4c66a3769219","tarball":"https://registry.npmjs.org/@davidegheri/react-native-fontawesome/-/react-native-fontawesome-0.1.0.tgz","fileCount":10,"unpackedSize":12640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVASICRA9TVsSAnZWagAAM8QP/0a994+cgKmxmaxOjlht\nNCAgJOG4t7RYzb8ScX9xdxgslPAKwhCqFbGj5JFW950z6bx8raV65rXSpq5w\nUENNg19mGocAYR3rpgM250EDBKy1/jm31Ri1+/lutbAUHZus1eEUwV1Jg1oH\nP4Qu4Bz13uPdrEptjvZHTPK3ZGMxOE/8XBYWweZiJDG6Us39Aw49WDqzdNB8\nzG9KbCIfTuCnZXxq3TB67bSwR2kOHiqeulUmtQm8SGHrc7D5pCr4yhgv4ZBo\nvw73bwOwGfqW2ewTVV4s71f5Hzcc7bRo0RnpoS6KB1Q9cA7ZPpSmiutUiv64\noAT5XCqzD6x7Td79U7doqKiFPGaK/1FO/sEbczN9T/RngEfKon9kFQ58pXZU\nL57UHGzv9dWQqgoCe64HvMKd0fr94AZbuRLlxulvJa2Jc2eve/mtsJ+elT4R\nqFeIyoaqRIKpVekgBROiD6BKk8I1GkDF6XE/XcLh4G5hbga7HUPyGZxR531o\nMQ1I9cl23nusmE7O87nLqV2JWdv/iCnyV8wQaUKLw8tLOm7uNnQQqMTHIRMM\nCR/sev8ttTMeC16eQ2gsK/ynSm0liyYb2V1xLzC+KdTmEQzf1r8Awb6DqAXA\nT875kvGDKKElXXKTXv4Q4bH6IDjT5SBE3/8X/dYE4EVbxu7LfeUmXPwF5Bg1\neDlF\r\n=EsoS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGY22B1KYbsYT9WIAJyyICLkVznC4vEBp+6WFa9NXI5oAiBM6gTTFC90eSxP/ZGiarPRG93GdfSBosKtb6ExuoNmRw=="}]},"maintainers":[{"name":"davide-gheri","email":"davide@davidegheri.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-fontawesome_0.1.0_1549010056075_0.011493893911242559"},"_hasShrinkwrap":false},"0.1.1":{"name":"@davidegheri/react-native-fontawesome","version":"0.1.1","description":"React Native component for Font Awesome 5","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"cross-env NODE_ENV=production npm run clean && tsc","lint":"tslint -p .","prettier":"pretty-quick src","clean":"rimraf dist/","typecheck":"tsc --noEmit","test":"jest","test:coveralls":"npm run test -- --coverageReporters=text-lcov | coveralls","prepublishOnly":"npm run build","version":"npm run build","postversion":"git push && git push --tags"},"husky":{"hooks":{"pre-commit":"npm run lint && npm run prettier && npm run test && npm run clean"}},"homepage":"https://github.com/Davide-Gheri/react-native-fontawesome","repository":{"type":"git","url":"git+https://github.com/Davide-Gheri/react-native-fontawesome.git"},"bugs":{"url":"https://github.com/Davide-Gheri/react-native-fontawesome/issues"},"author":{"name":"Davide Gheri","email":"davide@davidegheri.com"},"license":"MIT","keywords":["react","react-native","icon","fontawesome"],"dependencies":{"react-native-svg":"^9.0.x"},"peerDependencies":{"@fortawesome/fontawesome-svg-core":"^1.2.x","react":"^16.x","react-native":"^0.58.x"},"devDependencies":{"@fortawesome/fontawesome-svg-core":"^1.2.13","@fortawesome/free-solid-svg-icons":"^5.7.0","@types/jest":"^23.3.13","@types/prop-types":"^15.5.8","@types/react":"^16.7.22","@types/react-native":"^0.57.32","@types/react-test-renderer":"^16.0.3","coveralls":"^3.0.2","cross-env":"^5.2.0","husky":"^1.3.1","prettier":"^1.11.1","pretty-quick":"^1.2.2","prop-types":"^15.6.2","react":"^16.7.0","react-native":"^0.58.3","react-native-svg":"^9.0.6","react-test-renderer":"^16.7.0","rimraf":"^2.6.3","ts-jest":"^23.10.5","tslint":"^5.12.1","tslint-config-airbnb":"^5.11.1","typescript":"^3.2.4"},"gitHead":"30c645cf8ed0435328760f113c682a6d15a5f11a","_id":"@davidegheri/react-native-fontawesome@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"10.13.0","_npmUser":{"name":"davide-gheri","email":"davide@davidegheri.com"},"dist":{"integrity":"sha512-VTX1ekUcwmgqY/YGtmBO7yIEty2aa6Y7fBVZCe9nxnf17m0suF+c3y+OTLVhs/9W5KAH/4pruyQA/qtnbh7/cQ==","shasum":"c17aeb29c86355024cd0223c94d9c245d74ae821","tarball":"https://registry.npmjs.org/@davidegheri/react-native-fontawesome/-/react-native-fontawesome-0.1.1.tgz","fileCount":10,"unpackedSize":12758,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVAqiCRA9TVsSAnZWagAAj50P/1djbHhR+upRgSlzLsUI\nY+zJDEP1QAhbfFwBtSRq6lL8650BHMnq7t8iBRsxNnHLwTAfRwXU1hwsp1N3\nPGcDwLgPS0hmuB/RdgiAjbIFSzgZ3hIUBHbWm86y/oYKuq7Lcgw8NQJrotN6\nqN5svNxBfHKQE5UwYc66DE3BMqdzy1N6q+86ugI9/hXQX5CwzmjphfuvM8RM\nhgPXz6ulqtL2DCCE7uzkBsnU3ozb4Fe+29VbeVAF+NnSRzOBofC8YbrV67vY\ns1UuUBcMQ2zdQKAsASvVxVKSBs8tErR7ipttdCAj+wVfwaNVgECPXHb/qeUP\nn+ENLD9b4NOxqOOv+W/2GG+UosRkeq1O3dS2EwD+lFE6YKbQ5kGFM+HVOpTC\nBWyL7mnP+D4ACp06azAvB08LEJGkzu1meTPTywymap0uWRqWqXICFarFdEw2\nlG38SqppyiLq3hap0BPly1LX5NCvEopn/ZcHOPWmmtkRkJd2PwMZxyBo9eEy\n1QiOl8YGbmFI8FSVMLemFiH3SCZmv6QBJDzDIlqeD6F7u4iWPACm19wFM5gB\nxpDjApWPVZYae+yg/YDbhVCWmz3rcT24c/pjjp+f8SU5e43YZCjKeX5dLFwu\nTWOwY3hYWjZ0ezMeLFdXICcmX5jjumJXgpWk4FM1UlFWxC020WBXpHKlMMvk\nP28T\r\n=kzOz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpYu/U73rIfya2lTK5Mi8R3VJa4IfZjUWUhi38rgYReAiBJFsf4Jf6XT+jnnNCACE8f9vuACjbQpE1JsyrTboXC6g=="}]},"maintainers":[{"name":"davide-gheri","email":"davide@davidegheri.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-fontawesome_0.1.1_1549011617365_0.6766365784640844"},"_hasShrinkwrap":false}},"time":{"created":"2019-02-01T08:34:16.011Z","0.1.0":"2019-02-01T08:34:16.202Z","modified":"2022-04-05T03:05:47.736Z","0.1.1":"2019-02-01T09:00:17.540Z"},"maintainers":[{"name":"davide-gheri","email":"davide@davidegheri.com"}],"description":"React Native component for Font Awesome 5","homepage":"https://github.com/Davide-Gheri/react-native-fontawesome","keywords":["react","react-native","icon","fontawesome"],"repository":{"type":"git","url":"git+https://github.com/Davide-Gheri/react-native-fontawesome.git"},"author":{"name":"Davide Gheri","email":"davide@davidegheri.com"},"bugs":{"url":"https://github.com/Davide-Gheri/react-native-fontawesome/issues"},"license":"MIT","readme":"# react-native-fontawesome\n\n[![Coverage Status](https://coveralls.io/repos/github/Davide-Gheri/react-native-fontawesome/badge.svg?branch=develop)](https://coveralls.io/github/Davide-Gheri/react-native-fontawesome?branch=develop)\n[![Build Status](https://travis-ci.com/Davide-Gheri/react-native-fontawesome.svg?branch=master)](https://travis-ci.com/Davide-Gheri/react-native-fontawesome)\n[![npm version](https://badge.fury.io/js/%40davidegheri%2Freact-native-fontawesome.svg)](https://badge.fury.io/js/%40davidegheri%2Freact-native-fontawesome)\n\nFont Awesome 5 React Native component using SVG with JS and [react-native-svg](https://github.com/react-native-community/react-native-svg), heavily inpired by the [react-fontawesome](https://github.com/FortAwesome/react-fontawesome) package\n\n## Introduction\n\n#### Get started\n\nThis package is for integrating Font Awesome 5 SVG in JS with React Native,\n\nIt leverages the amazing react-native-svg package to render the icon svg in a React native environment\n\n## Installation\n\n```\n$ npm i --save @fortawesome/fontawesome-svg-core\n$ npm i --save @davidegheri/react-native-fontawesome\n\n$ react-native link react-native-svg\n```\n\n### Add at least one icon set\n```\n$ npm i --save @fortawesome/free-solid-svg-icons\n```\n\n## Add more styles or Pro icons\n\n```\n$ npm i --save @fortawesome/free-brands-svg-icons\n$ npm i --save @fortawesome/free-regular-svg-icons\n```\n\nIf you are a [Font Awesome Pro](https://fontawesome.com/pro) subscriber you can install Pro packages; this requires [additional configuration](https://fontawesome.com/how-to-use/on-the-web/setup/using-package-managers).\n\n```\n$ npm i --save @fortawesome/pro-solid-svg-icons\n$ npm i --save @fortawesome/pro-regular-svg-icons\n$ npm i --save @fortawesome/pro-light-svg-icons\n```\n\n## Usage\n\nAdd icons to the library first, usually in you app entry point (App.js)\n\n```javascript\nimport { library } from '@fortawesome/fontawesome-svg-core';\nimport { fab } from '@fortawesome/free-brands-svg-icons';\nimport { fas } from '@fortawesome/free-solid-svg-icons';\n\nlibrary.add(fab, fas);\n```\n\nThen, you can use any of the added icons as:\n\n```javascript\n<FontAwesomeIcon icon=\"coffee\" />\n```\n\nThe default used icon prefix is `fas`, from `@fortawesome/free-solid-svg-icons`, to use another set of icons, pass the prefix to the `icon` prop:\n\n```javascript\n<FontAwesomeIcon icon={['fab', 'apple']} />\n\n// Or\n\n<FontAwesomeIcon icon={{prefix: 'fab', iconName: 'apple'}} />\n```\n\nIf you prefer to not use the `library` method, you can also explicitly import an icon definition and directly use it\n\n```javascript\nimport { faCoffee } from '@fortawesome/free-solid-svg-icons';\n\n<FontawesomeIcon icon={faCoffee} />;\n```\n\nAs a recap, the `icon` prop expects a single object:\n\n- It could be an icon object, like `{faCoffee}`.\n- It could a string object, like `\"coffee\"` (the icon must be added to the `library` via `library.add(...)`).\n- It could be an `Array` of strings, where the first element is a prefix,\n  and the second element is the icon name: `{[\"fab\", \"apple\"]}` (the icon must be added to the `library` via `library.add(...)`).\n- Or it could be an `Object` with `prefix` and `iconName` properties: `{prefix: 'fab', iconName: 'apple'}`.\n\n## Features\n\n[Size](https://fontawesome.com/how-to-use/on-the-web/styling/sizing-icons):\n\n```javascript\n<FontAwesomeIcon icon=\"spinner\" size=\"xs\" />\n<FontAwesomeIcon icon=\"spinner\" size=\"lg\" />\n<FontAwesomeIcon icon=\"spinner\" size=\"6x\" />\n```\n\n[Power Transforms](https://fontawesome.com/how-to-use/on-the-web/styling/power-transforms):\n\n```javascript\n<FontAwesomeIcon icon=\"spinner\" transform=\"shrink-6 left-4\" />\n<FontAwesomeIcon icon=\"spinner\" transform={{ rotate: 42 }} />\n```\n\n[Masking](https://fontawesome.com/how-to-use/on-the-web/styling/masking):\n\n```javascript\n<FontAwesomeIcon icon=\"coffee\" mask={['far', 'circle']} />\n```\n\n### TypeScript\n\nTypings are included in this package. However, most types are defined in the\nunderlying API library, `@fortawesome/fontawesome-svg-core`.\n\nSeveral types, including `IconLookup` and `IconDefinition`, appearing above,\nactually originate from the `@fortawesome/fontawesome-common-types` package.\nThey are re-exported from both `@fortawesome/fontawesome-svg-core` and\n`@fortawesome/free-solid-svg-icons` (and other icon packs). This is just to\nmake importing more convenient in some cases. Refer to the `index.d.ts` in any\nmodule to see which types it exports.\n","readmeFilename":"README.md"}