react-keybinding-component
Advanced tools
Comparing version 0.4.1 to 0.5.0
@@ -0,0 +0,0 @@ const gulp = require('gulp'); |
import React, { Component } from 'react'; | ||
import { PropTypes } from 'prop-types'; | ||
class KeybindingComponent extends Component { | ||
@@ -46,10 +45,10 @@ | ||
KeybindingComponent.propTypes = { | ||
onKey : React.PropTypes.func, | ||
type : React.PropTypes.string, | ||
target : React.PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.object ]), | ||
preventInputConflict : React.PropTypes.bool, | ||
preventDefault : React.PropTypes.bool, | ||
stopPropagation : React.PropTypes.bool | ||
onKey : PropTypes.func, | ||
type : PropTypes.string, | ||
target : PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.object ]), | ||
preventInputConflict : PropTypes.bool, | ||
preventDefault : PropTypes.bool, | ||
stopPropagation : PropTypes.bool | ||
}; | ||
export default KeybindingComponent; |
{ | ||
"name": "react-keybinding-component", | ||
"version": "0.4.1", | ||
"version": "0.5.0", | ||
"description": "A React keybinding component, usable with es6, no mixin", | ||
@@ -37,3 +37,6 @@ "main": "dist/react-keybinding-component.js", | ||
"gulp-rename": "^1.2.2" | ||
}, | ||
"dependencies": { | ||
"prop-types": "^15.5.10" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # react-keybinding-component |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
74906
9
120
1
+ Addedprop-types@^15.5.10
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact-is@16.13.1(transitive)