import { CheckboxField } from '../../forms';

export type ZipOptionFieldProps = {
  checked: boolean;
  label: string;
  onCheckedChange: (checked: boolean) => void;
};

export function ZipOptionField({ checked, label, onCheckedChange }: ZipOptionFieldProps) {
  return <CheckboxField checked={checked} label={label} onCheckedChange={onCheckedChange} />;
}
