UNPKG

@vlsergey/react-bootstrap-pagetable

Version:

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

12 lines (11 loc) 429 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useActionsContext = void 0; var tslib_1 = require("tslib"); var react_1 = tslib_1.__importStar(require("react")); var ActionsContext = react_1.default.createContext(null); exports.default = ActionsContext; function useActionsContext() { return react_1.useContext(ActionsContext); } exports.useActionsContext = useActionsContext;