Streak interview question

Build a filtering component in React.