mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
delete duplicate propTypes(!!!)
This commit is contained in:
parent
ddfe0691c4
commit
a247ea2f77
@ -100,6 +100,8 @@ export default class MessageComposerInput extends React.Component {
|
||||
// called with current plaintext content (as a string) whenever it changes
|
||||
onContentChanged: PropTypes.func,
|
||||
|
||||
onFilesPasted: PropTypes.func,
|
||||
|
||||
onInputStateChanged: PropTypes.func,
|
||||
};
|
||||
|
||||
@ -1292,19 +1294,3 @@ export default class MessageComposerInput extends React.Component {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
MessageComposerInput.propTypes = {
|
||||
// a callback which is called when the height of the composer is
|
||||
// changed due to a change in content.
|
||||
onResize: PropTypes.func,
|
||||
|
||||
// js-sdk Room object
|
||||
room: PropTypes.object.isRequired,
|
||||
|
||||
// called with current plaintext content (as a string) whenever it changes
|
||||
onContentChanged: PropTypes.func,
|
||||
|
||||
onFilesPasted: PropTypes.func,
|
||||
|
||||
onInputStateChanged: PropTypes.func,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user