Implement the input above in React and CSS.
- Users should be able to search by typing into the search field. Search requests should be sent once every 300ms seconds while the user is typing.
- When a new character is entered old requests should be discarded.
- The search returns objects of two types: photos (videos) and live events.
- Search results should be displayed in a container below the input grouped by their type.