import type { ChangeEvent, FC, PropsWithChildren } from 'react'; import { Checkbox } from '../../../src/utils/Checkbox'; import { InfoTooltip } from '../../utils/components/InfoTooltip'; type ShortUrlFormCheckboxGroupProps = PropsWithChildren<{ checked?: boolean; onChange?: (checked: boolean, e: ChangeEvent) => void; infoTooltip?: string; }>; export const ShortUrlFormCheckboxGroup: FC = ( { children, infoTooltip, checked, onChange }, ) => (

{children} {infoTooltip && {infoTooltip}}

);