import { ReactElement } from 'react'; import { CreateBaseProps, Identifier, RaRecord } from 'ra-core'; import { CreateViewProps } from './CreateView'; /** * Page component for the Create view * * The `` component renders the page title and actions. * It is not responsible for rendering the actual form - * that's the job of its child component (usually ``), * to which it passes the `record` as prop. * * The component accepts the following props: * * - actions * - aside * - component * - mutationOptions * - title * * @example * * // in src/posts.js * import * as React from "react"; * import { Create, SimpleForm, TextInput } from 'react-admin'; * * export const PostCreate = () => ( * * * * * * ); * * // in src/App.js * import * as React from "react"; * import { Admin, Resource } from 'react-admin'; * * import { PostCreate } from './posts'; * * const App = () => ( * * * * ); * export default App; */ export declare const Create: = any, ResultRecordType extends RaRecord = RecordType & { id: Identifier; }>(inProps: CreateProps) => ReactElement; export interface CreateProps = any, MutationOptionsError = Error, ResultRecordType extends RaRecord = RecordType & { id: Identifier; }> extends CreateBaseProps, Omit { } //# sourceMappingURL=Create.d.ts.map