React && TypeScript
Higher Order Components – Higher Order Components with TypeScript (Exercise)
Higher Order Components with TypeScript (Exercise)
Start with this sandbox.
Your Mission
- Create a
WithCurrentUser
higher-order component.
- It should pass in the basic user information.
- It should still accept a
salutation
prop which is passed in manually.