Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Send/SendToken.js
Show First 20 Lines • Show All 540 Lines • ▼ Show 20 Lines | return ( | ||||
sendTokenAmountError | sendTokenAmountError | ||||
? sendTokenAmountError | ? sendTokenAmountError | ||||
: '' | : '' | ||||
} | } | ||||
onMax={onMax} | onMax={onMax} | ||||
inputProps={{ | inputProps={{ | ||||
name: 'value', | name: 'value', | ||||
step: 1 / 10 ** token.info.decimals, | step: 1 / 10 ** token.info.decimals, | ||||
onWheel: event => event.target.blur(), | |||||
placeholder: 'Amount', | placeholder: 'Amount', | ||||
prefix: | prefix: | ||||
currency.tokenIconsUrl !== '' ? ( | currency.tokenIconsUrl !== '' ? ( | ||||
<Img | <Img | ||||
src={`${currency.tokenIconsUrl}/32/${tokenId}.png`} | src={`${currency.tokenIconsUrl}/32/${tokenId}.png`} | ||||
width={16} | width={16} | ||||
height={16} | height={16} | ||||
unloader={ | unloader={ | ||||
▲ Show 20 Lines • Show All 175 Lines • ▼ Show 20 Lines | return ( | ||||
suffix: token.info | suffix: token.info | ||||
.tokenTicker, | .tokenTicker, | ||||
onChange: e => | onChange: e => | ||||
handleEtokenBurnAmountChange( | handleEtokenBurnAmountChange( | ||||
e, | e, | ||||
), | ), | ||||
initialvalue: 1, | initialvalue: 1, | ||||
value: eTokenBurnAmount, | value: eTokenBurnAmount, | ||||
onWheel: event => | |||||
event.target.blur(), | |||||
prefix: ( | prefix: ( | ||||
<TokenIcon | <TokenIcon | ||||
size={32} | size={32} | ||||
tokenId={ | tokenId={ | ||||
tokenId | tokenId | ||||
} | } | ||||
/> | /> | ||||
), | ), | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |