Add one item to a list in React

How to add an item based on user input