Update AmountIn.js
This commit is contained in:
12
packages/react-app/src/components/AmountIn.js
vendored
12
packages/react-app/src/components/AmountIn.js
vendored
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user