import React from 'react' import styles from './ModalCheckbox.module.css' interface Props { checked: boolean onChange: (checked: boolean) => void label: string helpIcon?: React.ReactNode subtext?: string className?: string } const ModalCheckbox: React.FC = ({ checked, onChange, label, helpIcon, subtext, className = '' }) => { return (
{subtext &&

{subtext}

}
) } export default ModalCheckbox