{!groupHeader && !searchValue && groups ? (
renderGroupsList()
) : (
<>
{!searchValue && (
<>
0 &&
groupHeader.selectedCount !== groupHeader.total
}
isChecked={
groupHeader.total !== 0 &&
groupHeader.total === groupHeader.selectedCount
}
/>
>
)}
{!hasNextPage && itemCount === 0 ? (
{!searchValue ? emptyOptionsLabel : emptySearchOptionsLabel}
) : (
)}
>
)}
{getOptionTooltipContent && (
)}