1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-11-14 17:35:35 +01:00

Make checkBox help text clickabe.

This commit is contained in:
Bogdan Bodnar 2019-11-19 13:34:01 +01:00
parent fbaa73e378
commit 638821d025
No known key found for this signature in database
GPG Key ID: 49E4169AD3CA42B0

View File

@ -42,8 +42,10 @@ export function CheckBox({
{...props}
/>
<label className="custom-control-label" htmlFor={uid}>{label}</label>
{helpText && <small className="form-text text-muted">{helpText}</small>}
<label className="custom-control-label" htmlFor={uid}>
{label}
{helpText && <small className="form-text text-muted">{helpText}</small>}
</label>
</div>
</div>
);