+
+ search}
+ rightIcon={
+ searchValue && (
+ {
+ if (e.key === 'Enter' || e.key === ' ') {
+ clearInput();
+ }
+ }}
+ role="button"
+ tabIndex={0}
+ style={{ cursor: 'pointer' }}
+ >
+ close
+
+ )
+ }
+ value={searchValue}
+ onChange={handleInputChange}
+ />
+
+
+
+
+
+
+
+ {mailDomain?.abilities.post ? (
+
+ ) : (
+
+
+
+
+
+ )}
+
+