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