mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +03:00
Use correct prop types
This commit is contained in:
parent
2a1d32f4d5
commit
5109833c42
1 changed files with 2 additions and 2 deletions
|
@ -30,9 +30,9 @@ module.exports = React.createClass({
|
|||
height: React.PropTypes.number,
|
||||
resizeMethod: React.PropTypes.string,
|
||||
// The onClick to give the avatar
|
||||
onClick: React.PropTypes.function,
|
||||
onClick: React.PropTypes.func,
|
||||
// Whether the onClick of the avatar should be overriden to dispatch 'view_user'
|
||||
viewUserOnClick: React.PropTypes.boolean,
|
||||
viewUserOnClick: React.PropTypes.bool,
|
||||
},
|
||||
|
||||
getDefaultProps: function() {
|
||||
|
|
Loading…
Reference in a new issue