UNPKG

@ra-libs/react-rbac

Version:

React admin RBAC front components and utils

13 lines 655 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Show = Show; const tslib_1 = require("tslib"); const react_1 = tslib_1.__importDefault(require("react")); const react_admin_1 = require("react-admin"); const ShowActions_1 = require("../actions/ShowActions"); // Overriding the ra-ui-materialui/src/detail/Show.tsx function Show(props) { const { children } = props, rest = tslib_1.__rest(props, ["children"]); return (react_1.default.createElement(react_admin_1.Show, Object.assign({ actions: react_1.default.createElement(ShowActions_1.ShowActions, null) }, rest), children)); } //# sourceMappingURL=index.js.map