Callback fired when the state is changed.
{React.ChangeEvent} event The event source of the callback. You can pull out the new checked state by accessing event.target.checked (boolean).
event.target.checked