Update AmountIn.js

This commit is contained in:
Daniel
2022-11-05 12:54:48 +01:00
parent 3c0473232f
commit 9e6079083d

View File

@@ -15,6 +15,18 @@ const AmountIn = () => {
onChange={(e) => typeof onChange === "function" && onChange(e.target.value)}
className={styles.amountInput}
/>
<div className="relative" onClick={() => setShowList(!showList)}>
<button className={styles.currencyButton}>
{"FHT"}
<img
src={chevronDown}
alt="cheveron-down"
className={`w-4 h-4 object-contain ml-2 ${
showList ? "rotate-180" : "rotate-0"
}`}
/>
</button>
</div>
</div>
)
}