You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
fix PropTypes.oneOfType
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user