acess props data in react functional component code example
Example: How to acces props of a functional component
const Child = (props) => { return ( <div style={{backgroundColor: props.eyeColor}} /> )}
const Child = (props) => { return ( <div style={{backgroundColor: props.eyeColor}} /> )}