Check out example codes for "react functional components with props". It will help you in understanding the concepts better.

Code Example 1

const component = props => {
console.log("This is a functional Component that uses props");
}

Code Example 2

function MyApp() {
  return (
    <div>
      <ul>
        <li>Name </li>
        <li>Place </li>
        <li>Animal </li>
      </ul>
    </div>
  )
}

ReactDOM.render(
  <MyApp />,
  document.getElementById('root')
);

Learn ReactJs, React Native from akashmittal.com