1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-14 19:02:33 +03:00

Add prop type for onDifferentServerClicked

This commit is contained in:
Luke Barnard
2017-05-10 14:28:48 +01:00
parent ad2ed12980
commit 6257bfcd87

View File

@@ -34,6 +34,8 @@ export default React.createClass({
displayName: 'SetMxIdDialog', displayName: 'SetMxIdDialog',
propTypes: { propTypes: {
onFinished: React.PropTypes.func.isRequired, onFinished: React.PropTypes.func.isRequired,
// Called when the user requests to register with a different homeserver
onDifferentServerClicked: React.PropTypes.func.isRequired,
}, },
getInitialState: function() { getInitialState: function() {