+ classNames(
+ 'relative cursor-default select-none py-2 pl-3 pr-9',
+ active ? 'bg-indigo-600 text-white' : 'text-gray-900'
+ )
+ }
+ >
+ {({ active, selected }) => (
+ <>
+
+ {person.name}
+
+ {person.id}
+
+
+
+ {selected && (
+
+
+
+ )}
+ >
+ )}
+
+ ))}
+