You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Clarify docs
This commit is contained in:
@@ -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,
|
||||||
|
Reference in New Issue
Block a user