Pergunta de entrevista da empresa NiYO

How to make interactions between two component (State, props coming into the matter)