I can change the state of child component which is class componet by ref,but how can I change the function child compment?
class componet
ref
function child compment