+ clsx(
+ "flex cursor-pointer select-none rounded-[0.625rem] px-2 py-1",
+ {
+ "text-blue-600 dark:text-blue-400": selected,
+ "text-slate-900 dark:text-white": focus && !selected,
+ "text-slate-700 dark:text-slate-300": !focus && !selected,
+ "bg-slate-100 dark:bg-slate-700": focus,
+ }
+ )
+ }
+ >
+ {({ selected }) => (
+
+ {intervalSetting.name}
+
+ )}
+
+ ))}
+