import * as React from 'react'; import { ToolbarProps } from '@mui/material'; /** * 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 'react-admin'; * * const PostCreateActions = () => ( * * * // Add your custom actions here // * * * ); * * export const PostCreate = (props) => ( * } {...props}> * ... * * ); */ export declare const CreateActions: (props: CreateActionsProps) => React.JSX.Element; export interface CreateActionsProps extends ToolbarProps { hasCreate?: boolean; hasEdit?: boolean; hasList?: boolean; hasShow?: boolean; resource?: string; } //# sourceMappingURL=CreateActions.d.ts.map