ShowablePassword: switch icons
This commit is contained in:
parent
f86fa3b508
commit
cd236f1e1d
|
@ -40,7 +40,7 @@ class ShowablePassword extends ImmutablePureComponent {
|
||||||
|
|
||||||
const revealButton = (
|
const revealButton = (
|
||||||
<IconButton
|
<IconButton
|
||||||
src={revealed ? require('@tabler/icons/icons/eye.svg') : require('@tabler/icons/icons/eye-off.svg')}
|
src={revealed ? require('@tabler/icons/icons/eye-off.svg') : require('@tabler/icons/icons/eye.svg')}
|
||||||
onClick={this.toggleReveal}
|
onClick={this.toggleReveal}
|
||||||
title={intl.formatMessage(revealed ? messages.hidePassword : messages.showPassword)}
|
title={intl.formatMessage(revealed ? messages.hidePassword : messages.showPassword)}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue