+
+
+
+ setSearchQuery(e.target.value)}
+ className="pl-10 pr-10"
+ />
+ {searchQuery && (
+
+ )}
+
+
+
+
+
+
+ Status
+ {STATUS_OPTIONS.map(option => (
+ toggleStatus(option.value)}
+ >
+ {option.label}
+
+ ))}
+
+ Priority
+ {PRIORITY_OPTIONS.map(option => (
+ togglePriority(option.value)}
+ >
+ {option.label}
+
+ ))}
+
+
+
+
+ {filteredTasks.length === 0 ? (
+
+
+ No tasks match the current search and filter criteria.
+
+
+ ) : (
+
+ )}
+
+ )
+}