Get docs right on hasCancel

pull/21833/head
David Baker 2018-04-30 14:17:21 +01:00
parent dcaacfd204
commit 5d46efc3e8
1 changed files with 2 additions and 2 deletions

View File

@ -44,9 +44,9 @@ export default React.createClass({
// Whether the dialog should have a 'close' button that will
// cause the dialog to be cancelled. This should only be set
// to true if there is nothing the app can sensibly do if the
// to false if there is nothing the app can sensibly do if the
// dialog is cancelled, eg. "We can't restore your session and
// the app cannot work".
// the app cannot work". Default: true.
hasCancel: PropTypes.bool,
// called when a key is pressed