updateSearch(e.target.value)}
+ placeholder={'Search..'}
+ />
+
+
+ {!inputVal && (
+
+
+
+
+
+
+ )}
+ {participants.map((participant) => {
+ const contact = getContactByNumber(participant);
+ return (
+
+
+ {contact?.avatar ? (
+
+ ) : (
+ {contact?.display.slice(0, 1).toUpperCase()}
+ )}
+
+
+
+
+
+ );
+ })}
+
+
+
+ {isGroupOwner && (
+
+ )}
+
+
+