s/function/func/ in PropTypes declarations

This commit is contained in:
Richard van der Hoff 2016-01-12 13:11:53 +00:00
parent 5a0adb9cdc
commit cd52549713
3 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,7 @@ module.exports = React.createClass({
// a callback which is called when the height of the composer is
// changed due to a change in content.
onResize: React.PropTypes.function,
onResize: React.PropTypes.func,
},
componentWillMount: function() {

View file

@ -36,7 +36,7 @@ module.exports = React.createClass({
propTypes: {
// a callback which is called when the video within the callview
// due to a change in video metadata
onResize: React.PropTypes.function,
onResize: React.PropTypes.func,
},
componentDidMount: function() {

View file

@ -24,7 +24,7 @@ module.exports = React.createClass({
propTypes: {
// a callback which is called when the video element is resized
// due to a change in video metadata
onResize: React.PropTypes.function,
onResize: React.PropTypes.func,
},
componentDidMount() {