Php Input Type Checkbox Onclick Reactjs Documentation