Pergunta de entrevista da empresa Softcrylic

Coding round to pass data from child to parent component and vice versa