import { Label } from '../shared/Label/Label'; import { LunaticComponentProps } from '../type'; export const PairwiseMirror = ({ value, options, label, }: LunaticComponentProps<'Dropdown'>) => { const selectedOption = options?.find((o) => o.value === value); if (!selectedOption) { return null; } return (
{selectedOption?.label}
); };