{groupedOptions.length > 0 ? ( {groupedOptions.map((option, index) => { const { key, ...optionProps } = getOptionProps({ option, index }); return (
  • {option.title}
  • ); })}
    ) : null}