react-taplink
Advanced tools
@@ -53,7 +53,5 @@ 'use strict'; | ||
| render: function render() { | ||
| var component = this.props.component; | ||
| return _react2['default'].createElement( | ||
| _reactTappable2['default'], | ||
| { onTap: this.handleTap.bind(this), component: component, className: this.getClassName() }, | ||
| _extends({}, this.props, { onTap: this.handleTap.bind(this), className: this.getClassName() }), | ||
| this.props.children | ||
@@ -60,0 +58,0 @@ ); |
+3
-2
| { | ||
| "name": "react-taplink", | ||
| "version": "0.2.0", | ||
| "version": "0.3.0", | ||
| "description": "Simple component which mock react-router link component to works on touch devices without 300ms delay", | ||
@@ -8,3 +8,4 @@ "main": "lib/index.js", | ||
| "test": "echo \"Error: no test specified\" && exit 1", | ||
| "build": "rm -rf ./lib && ./node_modules/.bin/babel -e 0 ./src --out-dir ./lib" | ||
| "build": "rm -rf ./lib && ./node_modules/.bin/babel -e 0 ./src --out-dir ./lib", | ||
| "prepublish": "npm run build" | ||
| }, | ||
@@ -11,0 +12,0 @@ "repository": { |
4236
-0.14%71
-1.39%