({ placeholder, name, type, value, handleChange })
| 10 | const companyCommonStyles = "min-h-[70px] sm:px-0 px-2 sm:min-w-[120px] flex justify-center items-center border-[0.5px] border-gray-400 text-sm font-light text-white"; |
| 11 | |
| 12 | const Input = ({ placeholder, name, type, value, handleChange }) => ( |
| 13 | <input |
| 14 | placeholder={placeholder} |
| 15 | type={type} |
| 16 | step="0.0001" |
| 17 | value={value} |
| 18 | onChange={(e) => handleChange(e, name)} |
| 19 | className="my-2 w-full rounded-sm p-2 outline-none bg-transparent text-white border-none text-sm white-glassmorphism" |
| 20 | /> |
| 21 | ); |
| 22 | |
| 23 | const Welcome = () => { |
| 24 | const { currentAccount, connectWallet, handleChange, sendTransaction, formData, isLoading } = useContext(TransactionContext); |
nothing calls this directly
no test coverage detected