diff --git a/ui/pages/send/send-content/add-recipient/domain-input.component.js b/ui/pages/send/send-content/add-recipient/domain-input.component.js index 710ce812692b..ea03dd4be180 100644 --- a/ui/pages/send/send-content/add-recipient/domain-input.component.js +++ b/ui/pages/send/send-content/add-recipient/domain-input.component.js @@ -8,6 +8,11 @@ import { isBurnAddress, isValidHexAddress, } from '../../../../../shared/modules/hexstring-utils'; +import { + ButtonIcon, + ICON_NAMES, +} from '../../../../components/component-library'; +import { COLORS } from '../../../../helpers/constants/design-system'; export default class DomainInput extends Component { static contextTypes = { @@ -147,7 +152,7 @@ export default class DomainInput extends Component { autoFocus data-testid="ens-input" /> - + iconName={ + userInput ? ICON_NAMES.CLOSE : ICON_NAMES.SCAN_BARCODE + } + ariaLabel={t(userInput ? 'close' : 'scanQrCode')} + color={userInput ? COLORS.ICON_DEFAULT : COLORS.PRIMARY_DEFAULT} + /> )}