How to acces props of a 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}} /> )}