{"name":"react-icon-base","version":"0.0.2","description":"base element for react-icons","main":"lib/index.js","jsnext:main":"index.js","scripts":{"build":"babel index.js --out-dir lib"},"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":"^5.8.23","babel-eslint":"^4.1.3","eslint":"^1.8.0","eslint-config-airbnb":"^0.1.0","eslint-plugin-react":"^3.6.3"},"peerDependencies":{"react":"*","react-dom":"*"},"gitHead":"92759b808969ba76a81e2d2e5dd703d9962b44c2","_id":"react-icon-base@0.0.2","_shasum":"949a08e39daf68481533dc9e9b73a23b4cbeda61","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"feroc1ty","email":"fero.null@gmail.com"},"dist":{"shasum":"949a08e39daf68481533dc9e9b73a23b4cbeda61","tarball":"http://registry-npm.ywwl.com/react-icon-base/download/react-icon-base-0.0.2.tgz","integrity":"sha512-Xy7ipVYMq3pFaW5gTL2sJegoWic3nlYJu/bOo8iS+ONL5peH1L2qJJJP7M/J7yhKlFueFOu96R1BqsqmfzJIyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoydXxXVBa2eBH3aMshTKVgKV8FqEYBBxtWILtHTKWDAIgOpBXzK933a3rFcgJBG69iYEoOENYSEAok+Jbuvc7nso="}],"size":1266,"noattachment":false,"key":"/react-icon-base/-/react-icon-base-0.0.2.tgz"},"maintainers":[{"name":"feroc1ty","email":"fero.null@gmail.com"}],"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":1446282991487,"_cnpm_publish_time":1446282991487,"dist-tags":{"latest":"2.1.2"}}