1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-16 13:46:16 +02:00

Add "inline" option to RadioSet

This commit is contained in:
Aleksandr Gumroian
2020-08-31 11:55:20 +02:00
parent 443f14d26c
commit 1903016f13
2 changed files with 16 additions and 5 deletions

View File

@ -23,7 +23,7 @@ Switch.propTypes = {
export function Switch({ label, helpText, switchHeading, ...props }) {
const uid = useUID();
return (
<div className="form-group custom-switch">
<div className="form-group switch">
<div
className={`custom-control custom-switch ${
!helpText ? "custom-control-inline" : ""