In a functional component you need to pass the props like this
const Component = (props) => {
return <div>Component Content</div>
}
Then you can use it like this
console.log(props)
CLICK HERE to find out more related problems solutions.