strapi-plugin-firebase-authentication
Version:
Allows easy integration between clients utilizing Firebase for authentication and Strapi
15 lines (14 loc) • 426 B
TypeScript
export interface UseBulkSelectionReturn {
selectedIds: Set<string>;
toggleSelectAll: () => void;
toggleSelectItem: (id: string) => void;
clearSelection: () => void;
isAllSelected: boolean;
isIndeterminate: boolean;
hasSelection: boolean;
selectedCount: number;
selectedArray: string[];
}
export declare const useBulkSelection: (items: Array<{
id: string;
}>) => UseBulkSelectionReturn;