how to make a reactjs component controlled code example Example: react file input <input type="file" />