• This component is the basic building block for 'create' stations in the CMS.

    You can specify the form you want to show in the children prop. The form will run inside a Formik context.

    To create the form, it's usually the easiest to use Formik's <Field/> component and using one of the *Field components coming from this library in the as prop like this:

    <Field name="title" label="Title" as={TextField} />

    Type Parameters

    • TValues extends Data

    • TSubmitResponse = unknown

    Parameters

    • props: PropsWithChildren<CreateProps<TValues, TSubmitResponse>>

    Returns Element

Generated using TypeDoc