How to pass data from parent to child component

Passing state through the props object in React