import * as React from 'react'; import { ToolbarProps } from '@mui/material'; /** * Action Toolbar for the Show view * * Internal component. If you want to add or remove actions for a Show view, * write your own ShowActions Component. Then, in the component, * use it in the `actions` prop to pass a custom component. * * @example * import Button from '@mui/material/Button'; * import { TopToolbar, ShowButton, Show } from 'react-admin'; * * const PostShowActions = () => ( * * * // Add your custom actions here // * * * ); * * export const PostShow = (props) => ( * } {...props}> * ... * * ); */ export declare const ShowActions: (props: ShowActionsProps) => React.JSX.Element; export interface ShowActionsProps extends ToolbarProps { hasCreate?: boolean; hasEdit?: boolean; hasList?: boolean; hasShow?: boolean; resource?: string; } //# sourceMappingURL=ShowActions.d.ts.map