Clarify docs
This commit is contained in:
parent
5e232d8500
commit
ec0ce76d87
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ import classnames from 'classnames';
|
||||||
/*
|
/*
|
||||||
* A dialog for confirming an operation on another user.
|
* A dialog for confirming an operation on another user.
|
||||||
* Takes a user ID and a verb, displays the target user prominently
|
* Takes a user ID and a verb, displays the target user prominently
|
||||||
* such that it should be easy to confirm that tne operation is being
|
* such that it should be easy to confirm that the operation is being
|
||||||
* performed on the right person, and displays the operation prominently
|
* performed on the right person, and displays the operation prominently
|
||||||
* to make it obvious what is going to happen.
|
* to make it obvious what is going to happen.
|
||||||
* Also tweaks the style for 'dangerous' actions (albeit only with colour)
|
* Also tweaks the style for 'dangerous' actions (albeit only with colour)
|
||||||
|
@ -29,7 +29,7 @@ import classnames from 'classnames';
|
||||||
export default React.createClass({
|
export default React.createClass({
|
||||||
displayName: 'ConfirmUserActionDialog',
|
displayName: 'ConfirmUserActionDialog',
|
||||||
propTypes: {
|
propTypes: {
|
||||||
member: React.PropTypes.object.isRequired, // member object
|
member: React.PropTypes.object.isRequired, // matrix-js-sdk member object
|
||||||
action: React.PropTypes.string.isRequired, // eg. 'Ban'
|
action: React.PropTypes.string.isRequired, // eg. 'Ban'
|
||||||
danger: React.PropTypes.bool,
|
danger: React.PropTypes.bool,
|
||||||
onFinished: React.PropTypes.func.isRequired,
|
onFinished: React.PropTypes.func.isRequired,
|
||||||
|
|
Loading…
Reference in a new issue