/// import PropTypes from 'prop-types'; import { Record } from '../../features/core'; /** * Action Toolbar for the Edit view * * Internal component. If you want to add or remove actions for an Edit view, * write your own EditActions 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, Edit } from '../../app'; * * const PostEditActions = ({ basePath, record, resource }) => ( * * * // Add your custom actions here * * * ); * * export const PostEdit = (props) => ( * } {...props}> * ... * * ); */ export declare const EditActions: { ({ className, ...rest }: EditActionsProps): JSX.Element; propTypes: { basePath: PropTypes.Requireable; className: PropTypes.Requireable; data: PropTypes.Requireable; hasCreate: PropTypes.Requireable; hasEdit: PropTypes.Requireable; hasShow: PropTypes.Requireable; hasList: PropTypes.Requireable; resource: PropTypes.Requireable; }; }; export interface EditActionsProps { basePath?: string; className?: string; data?: Record; hasCreate?: boolean; hasEdit?: boolean; hasList?: boolean; hasShow?: boolean; resource?: string; }