function BoolVal({ value }) { if (value === null || value === undefined) { return —; } return ( {value ? 'TRUE' : 'FALSE'} ); } function TextVal({ value, dim = false }) { if (value === null || value === undefined) { return —; } return ( {String(value).toUpperCase()} ); } function NumVal({ value }) { if (value === null || value === undefined) { return —; } return {value}; } export default function InfoBadges({ info, targetDef }) { return (