Php Input Type Checkbox Onclick React Example App