You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Use the right prop type for functions
This commit is contained in:
@@ -38,7 +38,7 @@ export default class Field extends React.PureComponent {
|
||||
// changes. Returns an object with `valid` boolean field
|
||||
// and a `feedback` react component field to provide feedback
|
||||
// to the user.
|
||||
onValidate: PropTypes.function,
|
||||
onValidate: PropTypes.func,
|
||||
// All other props pass through to the <input>.
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user