import { RadioGroup } from '../shared/Radio/RadioGroup'; import type { LunaticComponentProps } from '../type'; import { getComponentErrors } from '../shared/ComponentErrors/ComponentErrors'; import { useLunaticComponentsOptions } from '../../use-lunatic/lunatic-context'; /** * Checkbox acting as a radio (only one option can be checked at a time) */ export function CheckboxOne({ options, value, id, label, description, errors, disabled, readOnly, shortcut, declarations, orientation, }: LunaticComponentProps<'CheckboxOne'>) { const { detailAlwaysDisplayed } = useLunaticComponentsOptions(); return ( ); }