{"name":"react-icon-base","version":"2.0.0","description":"base element for react-icons","main":"lib/index.js","jsnext:main":"index.js","scripts":{"build":"babel index.js --out-dir lib","prepublish":"npm run build"},"repository":{"type":"git","url":"git+ssh://git@github.com/gorangajic/react-icon-base.git"},"keywords":["react","icon","base"],"author":{"name":"Goran Gajic","email":"fero.null@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/gorangajic/react-icon-base/issues"},"homepage":"https://github.com/gorangajic/react-icon-base#readme","devDependencies":{"babel":"6.5.2","babel-cli":"6.7.5","babel-eslint":"^5.0.0-beta6","babel-plugin-add-module-exports":"0.1.2","babel-preset-es2015":"6.6.0","babel-preset-react":"6.5.0","babel-preset-stage-0":"6.5.0","eslint":"^1.8.0","eslint-config-airbnb":"^0.1.0","eslint-plugin-react":"^3.6.3"},"peerDependencies":{"react":"*","react-dom":"*"},"gitHead":"290b5b0476409418e2da10a0200cc2a6253c5035","_id":"react-icon-base@2.0.0","_shasum":"642e64b64895ffb642afcf3e3ed2bf727e86caed","_from":".","_npmVersion":"3.8.9","_nodeVersion":"4.2.3","_npmUser":{"name":"gorangajic","email":"fero.null@gmail.com"},"dist":{"shasum":"642e64b64895ffb642afcf3e3ed2bf727e86caed","tarball":"http://registry-npm.ywwl.com/react-icon-base/download/react-icon-base-2.0.0.tgz","integrity":"sha512-k8EbG//8NV9oLBswOkvj3EcSQH2FcyBGLtDfgpc2P2YByHpwxuxm4G1y77Pjbdtta+CevtlDT9h3qwsYuk/QXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9ufDTd9ba0r+W+JWsWZLkHOcQYYi6ODbxwwQp+G/4CQIgfbh7paErj09G/BghD+y4Q48HgZfRIDgWwEKHbR3538Q="}],"size":2051,"noattachment":false,"key":"/react-icon-base/-/react-icon-base-2.0.0.tgz"},"maintainers":[{"name":"gorangajic","email":"fero.null+npm@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-icon-base-2.0.0.tgz_1464169426467_0.7827180568128824"},"directories":{},"readme":"## react-icon-base\n\n[![npm][npm-image]][npm-url]\n\n[npm-image]: https://img.shields.io/npm/v/react-icon-base.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/react-icon-base\n\nbase element for [react-icons](https://github.com/gorangajic/react-icons)\n\n### Installation\n\n```\nnpm install react-icon-base --save\n```\n\n\n### Usage\n\n```js\nimport { default as React } from 'react'\nimport { default as IconBase } from 'react-icon-base'\n\nexport default class FaHeart extends React.Component {\n    render() {\n        return (\n            <IconBase viewBox=\"0 0 1792 1896.0833\" {...this.props}>\n                <g><path d=\"m896 1664q-26 0-44-18l-624-602q-10-8-27.5-26t-55.5-65.5-68-97.5-53.5-121-23.5-138q0-220 127-344t351-124q62 0 126.5 21.5t120 58 95.5 68.5 76 68q36-36 76-68t95.5-68.5 120-58 126.5-21.5q224 0 351 124t127 344q0 221-229 450l-623 600q-18 18-44 18z\"/></g>\n            </IconBase>\n        )\n    }\n}\n```\n\n### Configuration\nYou can configure react-icon-base props in context.\n\n```js\nclass HigherOrderComponent extends Component {\n\n    static childContextTypes = {\n        reactIconBase: PropTypes.object\n    };\n\n    getChildContext() {\n        return {\n            reactIconBase: {\n                color: 'tomato',\n                size: 24,\n                style: {\n                    ...\n                }\n            }\n        }\n    }\n\n    render() {\n        ...\n    }\n}\n```\n\nContext can be overriden inline, like so:\n\n```js\n<Icon size={30} color='aliceblue' style={{ ... }} />\n```\n\n### Licence\n\nMIT\n","publish_time":1464169428895,"_cnpm_publish_time":1464169428895,"dist-tags":{"latest":"2.1.2"}}