import React from 'react'; import { Box } from './Box'; import { Text } from './Text'; interface CheckboxProps { label: string; checked: boolean; onChange: (checked: boolean) => void; disabled?: boolean; } export function Checkbox({ label, checked, onChange, disabled }: CheckboxProps) { return ( ) => onChange(e.target.checked)} disabled={disabled} w="4" h="4" bg="bg-deep-graphite" border borderColor="border-charcoal-outline" rounded="sm" className="text-primary-blue focus:ring-primary-blue" /> {label} ); }