setIsPopoverOpen(false)}
- panelPaddingSize="none"
- anchorPosition="upLeft"
- ownFocus
- repositionOnScroll
- >
-
-
-
-
- {selectableOptions.map((item, index) => (
- updateItem(index)}>
- {item.label}
-
- ))}
-
-
+ <>
+ {twoLine ? (
+ setIsPopoverOpen(false)}
+ panelPaddingSize="none"
+ anchorPosition="upLeft"
+ ownFocus
+ repositionOnScroll
+ >
+ {title}
+
+
+
+
+ {selectableOptions.map((item, index) => (
+ updateItem(index)}
+ >
+ {item.label}
+
+ ))}
+
+
+ ) : (
+
+ {startCase(title)}
+