I use ref from parent class to access child class.
ref
However in this case I want to access from parent class to child functional component.
in paren