ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
12 lines • 533 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.useDataTableConfigContext = exports.DataTableConfigContext = void 0;
const react_1 = require("react");
exports.DataTableConfigContext = (0, react_1.createContext)({
expandSingle: false,
hover: true,
hasBulkActions: false,
});
const useDataTableConfigContext = () => (0, react_1.useContext)(exports.DataTableConfigContext);
exports.useDataTableConfigContext = useDataTableConfigContext;
//# sourceMappingURL=DataTableConfigContext.js.map