We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017e5ea commit 54aff3dCopy full SHA for 54aff3d
src/shared/Fieldset.tsx
@@ -167,14 +167,12 @@ export const Fieldset = memo(
167
name={radioName}
168
{...nativeInputProps}
169
/>
170
- {Boolean(label || hintText) && (
171
- <label className={fr.cx("fr-label")} htmlFor={getInputId(i)}>
172
- {label}
173
- {hintText !== undefined && (
174
- <span className={fr.cx("fr-hint-text")}>{hintText}</span>
175
- )}
176
- </label>
177
+ <label className={fr.cx("fr-label")} htmlFor={getInputId(i)}>
+ {label}
+ {hintText !== undefined && (
+ <span className={fr.cx("fr-hint-text")}>{hintText}</span>
+ )}
+ </label>
178
{"illustration" in rest && (
179
<div className={fr.cx("fr-radio-rich__img")}>
180
{rest.illustration}
0 commit comments