mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-18 07:41:46 +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
|
// Extra node inserted after picker input, dropdown and errors
|
||||||
extraNode: PropTypes.node,
|
extraNode: PropTypes.node,
|
||||||
value: PropTypes.string,
|
value: PropTypes.string,
|
||||||
placeholder: PropTypes.oneOfType(PropTypes.string, PropTypes.func),
|
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
||||||
roomId: PropTypes.string,
|
roomId: PropTypes.string,
|
||||||
button: PropTypes.string,
|
button: PropTypes.string,
|
||||||
focus: PropTypes.bool,
|
focus: PropTypes.bool,
|
||||||
|
|
Loading…
Reference in a new issue