import React, { useState } from "react"; import { Input } from "antd"; import FloatLabel from "./FloatLabel/index.jsx"; import "./main.scss"; export const InputField = ({ fieldState, fieldApi, ...props }) => { const { value } = fieldState; const [inpValue, setInputValue] = useState('') const { field, onChange, isOnChange, onBlur, label, forwardedRef, required, ...rest } = props; return (