kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
ShowablePassword: switch icons
rodzic
f86fa3b508
commit
cd236f1e1d
|
@ -40,7 +40,7 @@ class ShowablePassword extends ImmutablePureComponent {
|
|||
|
||||
const revealButton = (
|
||||
<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}
|
||||
title={intl.formatMessage(revealed ? messages.hidePassword : messages.showPassword)}
|
||||
/>
|
||||
|
|
Ładowanie…
Reference in New Issue