UNPKG

@ra-libs/react-rbac

Version:

React admin RBAC front components and utils

10 lines 473 B
import { __rest } from "tslib"; import React from 'react'; import { Show as RaShow } from 'react-admin'; import { ShowActions } from '../actions/ShowActions'; // Overriding the ra-ui-materialui/src/detail/Show.tsx export function Show(props) { const { children } = props, rest = __rest(props, ["children"]); return (React.createElement(RaShow, Object.assign({ actions: React.createElement(ShowActions, null) }, rest), children)); } //# sourceMappingURL=index.js.map