UNPKG

lumarc-grid

Version:

lumArc Grid는 고성능, 유연하고 프레임워크에 구애받지 않는 데이터 그리드 라이브러리

13 lines 652 B
interface UseGridActionsProps<T> { onRowAction?: (action: string, rowData: T, rowIndex: number) => void; } interface UseGridActionsReturn<T> { handleRowAction: (action: string, rowData: T, rowIndex: number) => void; handleEdit: (rowData: T, rowIndex: number) => void; handleDuplicate: (rowData: T, rowIndex: number) => void; handleDelete: (rowData: T, rowIndex: number) => void; handleCustomAction: (actionName: string, rowData: T, rowIndex: number) => void; } export declare function useGridActions<T>({ onRowAction, }: UseGridActionsProps<T>): UseGridActionsReturn<T>; export {}; //# sourceMappingURL=use-grid-actions.d.ts.map