input checkbox controlled component react code example Example: react file input <input type="file" />