UNPKG

chop-logic-components

Version:

React UI components library for Chop Logic project

16 lines (15 loc) 504 B
import { ChopLogicGridItem } from '../../models'; export declare const useChopLogicGridController: ({ data, id, onSelect, }: { data: ChopLogicGridItem[]; id?: string; onSelect?: (ids: string[]) => void; }) => { elementId: string; isAllSelected: boolean; isAllCheckboxDisabled: boolean; selectedIds: string[]; handleSelectAll: () => void; handleDeselectAll: () => void; handleSelectRowById: (id: string) => void; handleDeselectRowById: (id: string) => void; };