///
import PropTypes from 'prop-types';
/**
* Action Toolbar for the Create view
*
* Internal component. If you want to add or remove actions for a Create view,
* write your own CreateActions 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, Create, ListButton } from '../../app';
*
* const PostCreateActions = ({ basePath }) => (
*
*
* // Add your custom actions here //
*
*
* );
*
* export const PostCreate = (props) => (
* } {...props}>
* ...
*
* );
*/
export declare const CreateActions: {
({ className, ...rest }: CreateActionsProps): JSX.Element;
propTypes: {
basePath: PropTypes.Requireable;
className: PropTypes.Requireable;
hasCreate: PropTypes.Requireable;
hasEdit: PropTypes.Requireable;
hasShow: PropTypes.Requireable;
hasList: PropTypes.Requireable;
resource: PropTypes.Requireable;
};
};
export interface CreateActionsProps {
basePath?: string;
className?: string;
hasCreate?: boolean;
hasEdit?: boolean;
hasList?: boolean;
hasShow?: boolean;
resource?: string;
}