feat: Attribute filter/Segment for Round Robin hosts (#17361)
Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
e3abd35ba7
commit
82e52a1948
78 files changed
+2454
-1122
No files matched your search
@@ -22,6 +22,7 @@ type Props = {
|
||||
switchContainerClassName?: string;
|
||||
labelClassName?: string;
|
||||
descriptionClassName?: string;
|
||||
noIndentation?: boolean;
|
||||
};
|
||||
|
||||
function SettingsToggle({
|
||||
@@ -39,6 +40,7 @@ function SettingsToggle({
|
||||
switchContainerClassName,
|
||||
labelClassName,
|
||||
descriptionClassName,
|
||||
noIndentation = false,
|
||||
...rest
|
||||
}: Props) {
|
||||
const [animateRef] = useAutoAnimate<HTMLDivElement>();
|
||||
@@ -108,7 +110,7 @@ function SettingsToggle({
|
||||
</div>
|
||||
)}
|
||||
{children && (
|
||||
<div className={classNames("lg:ml-14", childrenClassName)} ref={animateRef}>
|
||||
<div className={classNames(noIndentation ? "" : "lg:ml-14", childrenClassName)} ref={animateRef}>
|
||||
{checked && <div className={classNames(!toggleSwitchAtTheEnd && "mt-4")}>{children}</div>}
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user