Update AmountIn.js

This commit is contained in:
Daniel
2022-11-05 12:47:05 +01:00
parent cc55640c6c
commit 3c0473232f

View File

@@ -1 +1,24 @@
import React, { useState, useEffect, useRef } from "react";
import { chevronDown } from "../assets"; // icon
import { useOnClickOutside } from "../utils"; //helps to close menu bar
import styles from "../styles";
const AmountIn = () => {
return(
<div className={styles.amountContainer}>
<input
placeholder="0.0"
type="number"
value={value}
disabled={isSwapping}
onChange={(e) => typeof onChange === "function" && onChange(e.target.value)}
className={styles.amountInput}
/>
</div>
)
}