React component to create a list of checkboxes.