Softcrylic interview question

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