React Material UI Label Overlaps with Text

前端 未结 5 2317
一个人的身影
一个人的身影 2021-02-12 19:10

I\'m using Material UI in a React application and trying to implement an entity update page. In this, we would need to set the exiting values of the entity to let the user updat

5条回答
  •  耶瑟儿~
    2021-02-12 19:30

    I can say whatever works for me try this out .

    This is for Functional based Component.

     const Example = () =>{
       const [name, setName] = useState("");
        const editName = (name) =>{
        setName(name);
      }
    
            return(
               setName(e.target.value)}
                label="Enter Name"
              />
          )
      }
    

提交回复
热议问题