A 컴포넌트 에서 만든 [data , setData]usestate를

B 컴포넌트에서  setData 를 사용해서 바뀌게 하고싶은데

프롭스로 setData 를 보낼수가 있어? 안돼면 뭔가 방법좀 알려주세요 .. ㅜㅠ

- dc official App