Appinventiv interview question

How to send data from child to parent component