react with functional component

4 Prompts