import { useState } from "react"; import { Search } from "lucide-react"; // types import { WidgetProps } from "components/dashboard/widgets"; // components import { DefaultCollaboratorsList } from "./default-list"; import { SearchedCollaboratorsList } from "./search-list"; 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() !== "" ? ( ) : ( )}
); };