{"_id":"react-component-width-mixin","_rev":"306035","name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"kylemathews","email":""}],"time":{"modified":"2021-06-03T19:31:58.000Z","created":"2014-10-06T17:23:40.676Z","2.0.0":"2015-10-09T16:55:48.962Z","1.1.8":"2015-06-22T20:52:20.534Z","1.1.7":"2015-02-19T02:26:23.974Z","1.1.6":"2015-02-19T01:29:58.376Z","1.1.5":"2015-02-12T17:16:15.213Z","1.1.4":"2014-12-15T17:35:43.437Z","1.1.3":"2014-12-13T01:20:41.690Z","1.1.2":"2014-11-07T20:37:00.173Z","1.1.1":"2014-11-02T01:46:01.485Z","1.1.0":"2014-10-06T21:13:22.049Z","1.0.2":"2014-10-06T18:20:58.725Z","1.0.1":"2014-10-06T17:54:35.331Z","1.0.0":"2014-10-06T17:34:33.679Z","0.1.2":"2014-10-06T17:27:05.162Z","0.1.1":"2014-10-06T17:25:11.906Z","0.1.0":"2014-10-06T17:23:40.676Z"},"users":{"kylemathews":true},"author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/KyleAMathews/react-component-width-mixin.git"},"versions":{"2.0.0":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"2.0.0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^2.0.0"},"peerDependencies":{"react-dom":">=0.14.0"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"12dbef146b8f1d563eef92a414edd09acafe75a0","_id":"react-component-width-mixin@2.0.0","_shasum":"9612806299ccf3de2304f8d40fb02e7c14d2a131","_from":".","_npmVersion":"3.3.6","_nodeVersion":"4.0.0","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"9612806299ccf3de2304f8d40fb02e7c14d2a131","size":3418,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-2.0.0.tgz"},"directories":{},"publish_time":1444409748962,"_cnpm_publish_time":1444409748962,"_hasShrinkwrap":false},"1.1.8":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.8","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^2.0.0"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"e12d124959fe74ff77965373832c89ce9ae76cc3","_id":"react-component-width-mixin@1.1.8","_shasum":"c8fb5add3b392ad81442ffeceaaa65ff61c8c94d","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"c8fb5add3b392ad81442ffeceaaa65ff61c8c94d","size":3349,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.8.tgz"},"directories":{},"publish_time":1435006340534,"_cnpm_publish_time":1435006340534,"_hasShrinkwrap":false},"1.1.7":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.7","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^2.0.0"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"0b973443ac324741b523421965dba9a8f26dc75c","_id":"react-component-width-mixin@1.1.7","_shasum":"43e5bdda76642a6398fc7db40735e7d277fde568","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"43e5bdda76642a6398fc7db40735e7d277fde568","size":3224,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.7.tgz"},"directories":{},"publish_time":1424312783974,"_cnpm_publish_time":1424312783974,"_hasShrinkwrap":false},"1.1.6":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.6","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"d3daafeefeb280c4be85ca6141d5f5b2ddc16886","_id":"react-component-width-mixin@1.1.6","_shasum":"ba9edec1baaf1f534e88610d4a443d77960edbcf","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"ba9edec1baaf1f534e88610d4a443d77960edbcf","size":3220,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.6.tgz"},"directories":{},"publish_time":1424309398376,"_cnpm_publish_time":1424309398376,"_hasShrinkwrap":false},"1.1.5":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.5","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"042701ff32f1ed3e26eec404a0fe6a90809d9c4a","_id":"react-component-width-mixin@1.1.5","_shasum":"7aab220491292b0635996f18534a93f12fa34427","_from":".","_npmVersion":"2.4.1","_nodeVersion":"0.10.35","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"7aab220491292b0635996f18534a93f12fa34427","size":3418,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.5.tgz"},"directories":{},"publish_time":1423761375213,"_cnpm_publish_time":1423761375213,"_hasShrinkwrap":false},"1.1.4":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.4","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"b00aa8ab89a34e9784df18f0ca04a07e956c4c5e","_id":"react-component-width-mixin@1.1.4","_shasum":"c3c56547f9254c88d3814f4020315a02950133de","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"c3c56547f9254c88d3814f4020315a02950133de","size":3306,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.4.tgz"},"directories":{},"publish_time":1418664943437,"_cnpm_publish_time":1418664943437,"_hasShrinkwrap":false},"1.1.3":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.3","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"31943f4e2a481b286b014243b573738451f04183","_id":"react-component-width-mixin@1.1.3","_shasum":"0cda6bcc178c68dab389a5f96f394ead6ddf6cf9","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"0cda6bcc178c68dab389a5f96f394ead6ddf6cf9","size":3645,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.3.tgz"},"directories":{},"publish_time":1418433641690,"_cnpm_publish_time":1418433641690,"_hasShrinkwrap":false},"1.1.2":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.2","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"c977cb9c287048d2d5b6262fb6fa8dc0c0a76595","_id":"react-component-width-mixin@1.1.2","_shasum":"c0ff5989a50e0749798e6393aa639095b16ddc64","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"c0ff5989a50e0749798e6393aa639095b16ddc64","size":6361,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.2.tgz"},"directories":{},"publish_time":1415392620173,"_cnpm_publish_time":1415392620173,"_hasShrinkwrap":false},"1.1.1":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.1","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"eb27cddd7abcc3f73ced7acbd2c019a59ed4ae9f","_id":"react-component-width-mixin@1.1.1","_shasum":"29410ec20701e04bcd414b8283f5bfde7ca70f92","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"29410ec20701e04bcd414b8283f5bfde7ca70f92","size":6034,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.1.tgz"},"directories":{},"publish_time":1414892761485,"_cnpm_publish_time":1414892761485,"_hasShrinkwrap":false},"1.1.0":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.1.0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"162d216907bff0523a58e17269ea3a2c1741eefb","_id":"react-component-width-mixin@1.1.0","_shasum":"a30fa71886866b24f0d0ec4c4a6a66f665848081","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"a30fa71886866b24f0d0ec4c4a6a66f665848081","size":5916,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.1.0.tgz"},"directories":{},"publish_time":1412630002049,"_cnpm_publish_time":1412630002049,"_hasShrinkwrap":false},"1.0.2":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.0.2","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"432250dd53e96865b161b70d4fd3e2d2ceb8cd05","_id":"react-component-width-mixin@1.0.2","_shasum":"769888cbf1a1ca1bf1f374aef842d3061c4ef9bb","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"769888cbf1a1ca1bf1f374aef842d3061c4ef9bb","size":5447,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.0.2.tgz"},"directories":{},"publish_time":1412619658725,"_cnpm_publish_time":1412619658725,"_hasShrinkwrap":false},"1.0.1":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.0.1","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"62ef110958cf52036380f25304fde2e3aa867508","_id":"react-component-width-mixin@1.0.1","_shasum":"85cbf635f635ae8544e4435af13aaf1bd97e280a","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"85cbf635f635ae8544e4435af13aaf1bd97e280a","size":5315,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.0.1.tgz"},"directories":{},"publish_time":1412618075331,"_cnpm_publish_time":1412618075331,"_hasShrinkwrap":false},"1.0.0":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"1.0.0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"a2cdf532f072e8e2bcbda36641c9847dfc502ad5","_id":"react-component-width-mixin@1.0.0","_shasum":"41988c26daa0e894af1bed66693fc7ca1736d213","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"41988c26daa0e894af1bed66693fc7ca1736d213","size":5178,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-1.0.0.tgz"},"directories":{},"publish_time":1412616873679,"_cnpm_publish_time":1412616873679,"_hasShrinkwrap":false},"0.1.2":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"0.1.2","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"12c54cb30f64ce708a79aa3b407798525a982ab5","_id":"react-component-width-mixin@0.1.2","_shasum":"5fa16f5a49f18a4a4f2e86a1d1a601e65064190e","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"5fa16f5a49f18a4a4f2e86a1d1a601e65064190e","size":5170,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-0.1.2.tgz"},"directories":{},"publish_time":1412616425162,"_cnpm_publish_time":1412616425162,"_hasShrinkwrap":false},"0.1.1":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"0.1.1","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"7d560b5784bfee9360207414da6526362dfd11d6","_id":"react-component-width-mixin@0.1.1","_shasum":"7de2162c88a8694dfa7b02eafa5d7140049893a2","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"7de2162c88a8694dfa7b02eafa5d7140049893a2","size":4958,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-0.1.1.tgz"},"directories":{},"publish_time":1412616311906,"_cnpm_publish_time":1412616311906,"_hasShrinkwrap":false},"0.1.0":{"name":"react-component-width-mixin","description":"React mixin which detects when component resizes and sets the new width as a state variable","version":"0.1.0","author":{"name":"Kyle Mathews","email":"mathews.kyle@gmail.com"},"bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"dependencies":{"animation-frame":"^0.1.7","element-resize-event":"^1.0.0","lodash.throttle":"^2.4.1"},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","keywords":["react","react-mixin"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"https://github.com/KyleAMathews/react-component-width-mixin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"gitHead":"0d80127451284e6210ce2b108fe4b10d29774fc6","_id":"react-component-width-mixin@0.1.0","_shasum":"a572a4b55509d86b400eec8011a4d55fc97049d8","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.32","_npmUser":{"name":"kylemathews","email":"mathews.kyle@gmail.com"},"maintainers":[{"name":"kylemathews","email":""}],"dist":{"shasum":"a572a4b55509d86b400eec8011a4d55fc97049d8","size":4458,"noattachment":false,"key":"/react-component-width-mixin/-/react-component-width-mixin-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/react-component-width-mixin/download/react-component-width-mixin-0.1.0.tgz"},"directories":{},"publish_time":1412616220676,"_cnpm_publish_time":1412616220676,"_hasShrinkwrap":false}},"readme":"react-component-width-mixin\n===========================\n\nReact mixin which detects when component resizes and sets the new width as a state variable\n\n## Install\n`npm install react-component-width-mixin`\n\n## Usage\n```javascript\nvar componentWidthMixin = require('react-component-width-mixin');\n\nReact.createClass({\n  mixins: [componentWidthMixin],\n  \n  render: function() {\n    // Now the component width is available after the initial render\n    // as this.state.componentWidth.\n  }\n});\n```\n\nIf you'd like to set an initial width for your component (e.g. server-side rendering), pass in a prop called `initialComponentWidth`.\n","_attachments":{},"homepage":"https://github.com/KyleAMathews/react-component-width-mixin","bugs":{"url":"https://github.com/KyleAMathews/react-component-width-mixin/issues"},"license":"MIT"}