s/function/func/ in PropTypes declarations
This commit is contained in:
parent
5a0adb9cdc
commit
cd52549713
3 changed files with 3 additions and 3 deletions
|
@ -75,7 +75,7 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
// a callback which is called when the height of the composer is
|
// a callback which is called when the height of the composer is
|
||||||
// changed due to a change in content.
|
// changed due to a change in content.
|
||||||
onResize: React.PropTypes.function,
|
onResize: React.PropTypes.func,
|
||||||
},
|
},
|
||||||
|
|
||||||
componentWillMount: function() {
|
componentWillMount: function() {
|
||||||
|
|
|
@ -36,7 +36,7 @@ module.exports = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
// a callback which is called when the video within the callview
|
// a callback which is called when the video within the callview
|
||||||
// due to a change in video metadata
|
// due to a change in video metadata
|
||||||
onResize: React.PropTypes.function,
|
onResize: React.PropTypes.func,
|
||||||
},
|
},
|
||||||
|
|
||||||
componentDidMount: function() {
|
componentDidMount: function() {
|
||||||
|
|
|
@ -24,7 +24,7 @@ module.exports = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
// a callback which is called when the video element is resized
|
// a callback which is called when the video element is resized
|
||||||
// due to a change in video metadata
|
// due to a change in video metadata
|
||||||
onResize: React.PropTypes.function,
|
onResize: React.PropTypes.func,
|
||||||
},
|
},
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|
Loading…
Reference in a new issue