Change all Cancel buttons to isNegative (#1636)

This commit is contained in:
Jaco Greeff 2019-09-19 14:44:48 +02:00 committed by GitHub
parent 4286143e1b
commit a32ad5ef09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -134,6 +134,7 @@ class Create extends React.PureComponent<Props, State> {
<Modal.Actions>
<Button.Group>
<Button
isNegative
label={t('Cancel')}
labelIcon='cancel'
onClick={this.onDiscard}

View File

@ -48,6 +48,7 @@ class Import extends TxComponent<Props, State> {
<Modal.Actions>
<Button.Group>
<Button
isNegative
label={t('Cancel')}
labelIcon='cancel'
onClick={onClose}

View File

@ -86,6 +86,7 @@ function QrModal ({ className, onClose, onStatusChange, t }: Props): React.React
<Modal.Actions>
<Button.Group>
<Button
isNegative
label={t('Cancel')}
labelIcon='cancel'
onClick={onClose}