UNPKG

@airplane/views

Version:

A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.

14 lines (13 loc) 525 B
import { MutationState } from "../../../state/tasks/useTaskMutation"; import { BaseState, DefaultState } from "../BaseState"; type Result = MutationState<any>; export type TableState<TRowData = any> = { selectedRows: TRowData[]; selectedRow?: TRowData; changeRowSelection: (rows: TRowData[]) => void; clearSelection: () => void; rowActionResult: Result | null; setRowActionResult: (mutation: Result) => void; } & BaseState; export declare const DefaultTableState: DefaultState<TableState>; export {};