mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-14 17:35:35 +01:00
Add ability to select switch's form-group
This commit is contained in:
parent
61b349c6cc
commit
443f14d26c
|
@ -23,7 +23,7 @@ Switch.propTypes = {
|
|||
export function Switch({ label, helpText, switchHeading, ...props }) {
|
||||
const uid = useUID();
|
||||
return (
|
||||
<div className="form-group">
|
||||
<div className="form-group custom-switch">
|
||||
<div
|
||||
className={`custom-control custom-switch ${
|
||||
!helpText ? "custom-control-inline" : ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user