example functional component Example: react functional components const component = () => { console.log("This is a functional Component"); }