{"name":"react-icon-base","version":"2.1.2","description":"base element for react-icons","main":"lib/index.js","module":"es/index.js","scripts":{"lint":"standard","build":"npm run build:cjs && npm run build:es","build:cjs":"babel index.js --out-dir lib","build:es":"BABEL_ENV=es babel index.js --out-dir es","prepublish":"npm test && npm run build","test":"npm run lint && mocha test --compilers js:babel-register"},"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-cli":"^6.26.0","babel-eslint":"^6.1.2","babel-plugin-add-module-exports":"^0.2.1","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-env":"^1.6.1","babel-preset-react":"^6.24.1","commitizen":"^2.8.2","cz-conventional-changelog":"^1.1.6","expect":"^1.20.2","ghooks":"^1.3.2","mocha":"^2.5.3","prop-types":"*","react":"^16.2.0","react-test-renderer":"^16.2.0","standard":"^7.1.2","validate-commit-msg":"^2.6.1"},"peerDependencies":{"prop-types":"*","react":"*"},"standard":{"globals":["beforeEach","describe","it"],"parser":"babel-eslint"},"config":{"ghooks":{"commit-msg":"validate-commit-msg"},"commitizen":{"path":"./node_modules/cz-conventional-changelog"},"validate-commit-msg":{"types":["issue","master","revert"],"warnOnFail":false,"maxSubjectLength":100,"subjectPattern":".+","subjectPatternErrorMsg":"subject does not match subject pattern!","helpMessage":""}},"gitHead":"bb3fde32cfebbb22f276cdd59f6cc7fce83c12b6","_id":"react-icon-base@2.1.2","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"gorangajic","email":"fero.null@gmail.com"},"dist":{"integrity":"sha512-NRlRo0RPxWRMQT7osj8UCBSSXsGOxhF1pre84ildhuft5S2U382NOs7tg29osWSjbO90L2a3VTCqadA/LnAzHQ==","shasum":"a17101dad9c1192652356096860a9ab43a0766c7","tarball":"http://registry-npm.ywwl.com/react-icon-base/download/react-icon-base-2.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhij6SEdTc7H5jj0kb+wzaGiUAvCyBvclTkn10TGC8OwIhAMAtLa8bgBJkv8ekYIyRHD4FA5MbDybLqB62Yo2pB2DN"}],"size":3068,"noattachment":false,"key":"/react-icon-base/-/react-icon-base-2.1.2.tgz"},"maintainers":[{"name":"bentatum","email":"bentatum@me.com"},{"name":"gorangajic","email":"fero.null@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-icon-base-2.1.2.tgz_1513439980664_0.960379465483129"},"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":1513439981703,"_cnpm_publish_time":1513439981703,"dist-tags":{"latest":"2.1.2"}}