Change all Cancel buttons to isNegative (#1636)
This commit is contained in:
parent
4286143e1b
commit
a32ad5ef09
@ -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}
|
||||
|
||||
@ -48,6 +48,7 @@ class Import extends TxComponent<Props, State> {
|
||||
<Modal.Actions>
|
||||
<Button.Group>
|
||||
<Button
|
||||
isNegative
|
||||
label={t('Cancel')}
|
||||
labelIcon='cancel'
|
||||
onClick={onClose}
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user