Write a component named UserSearch
that receives a list of users as prop:
type User = {
id: string;
firstName: string;
lastName: string;
};
The component will render a text input, and the full list of users underneath.
When we type into the input, we'll show only the users for which firstName or lastName includes the text in the input. If we remove all text from the input, show all users. If we found no user, add a message No users found.