UNPKG

@vlsergey/react-bootstrap-pagetable

Version:

Complex solution to work with pageable data, including sorting, filtering, actions, changing displayed columns, etc.

13 lines 608 B
import React from 'react'; import { NewComponentProps } from './withActions'; export interface ActionsContextType<T> { actions?: NewComponentProps<T>['actions']; buttonProps?: NewComponentProps<T>['buttonProps']; onAfterAction?: NewComponentProps<T>['onAfterAction']; onRefreshRequired?: NewComponentProps<T>['onRefreshRequired']; selectedIds: string[]; } declare const ActionsContext: React.Context<ActionsContextType<unknown>>; export default ActionsContext; export declare function useActionsContext<T>(): ActionsContextType<T>; //# sourceMappingURL=ActionsContext.d.ts.map