+ {(list, search) => (
+
+ {search}
+ {list}
+
+ opt?.checked === 'on')}
+ onClick={() => {
+ const selected = options.find((opt) => opt?.checked === 'on')!;
+ onSelectionChange(selected.label);
+ setIsPopoverOpen(false);
+ }}
+ >
+ Apply
+
+
+
+ )}
+
+