import React from 'react'; interface FormCheckboxProps { id: string; label: string; checked: boolean; onChange: (checked: boolean) => void; disabled?: boolean; description?: string; } export default function FormCheckbox({ id, label, checked, onChange, disabled = false, description }: FormCheckboxProps) { return (
onChange(e.target.checked)} disabled={disabled} className="w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 focus:ring-2" />
{description && (

{description}

)}
); }