mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-18 05:12:34 +03:00
fix PropTypes.oneOfType
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
77e7e46464
commit
cde75dc4f7
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ module.exports = createReactClass({
|
|||
// Extra node inserted after picker input, dropdown and errors
|
||||
extraNode: PropTypes.node,
|
||||
value: PropTypes.string,
|
||||
placeholder: PropTypes.oneOfType(PropTypes.string, PropTypes.func),
|
||||
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
||||
roomId: PropTypes.string,
|
||||
button: PropTypes.string,
|
||||
focus: PropTypes.bool,
|
||||
|
|
Loading…
Reference in a new issue