how to pass data from child component to state of parent component react native?

前端 未结 0 1218
余生分开走
余生分开走 2021-01-24 05:09

PARENT

import Child from \'../Child\';

const Parent = () => {
  const [inputValue, setInputValue] = useState(\'\');

  const handleChild = (value) => {
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题