import { useState } from "react"; import { Search } from "lucide-react"; // components import { DefaultCollaboratorsList } from "./default-list"; import { SearchedCollaboratorsList } from "./search-list"; 8; // types import { WidgetProps } from "components/dashboard/widgets"; const PER_PAGE = 8; export const RecentCollaboratorsWidget: React.FC = (props) => { const { dashboardId, workspaceSlug } = props; // states const [searchQuery, setSearchQuery] = useState(""); return (

Most active members

Top eight active members in your project by last activity

setSearchQuery(e.target.value)} />
{searchQuery.trim() !== "" ? ( ) : ( )}
); };