Interface ProfileComponents

Components used to render the x-profile: true operations.

Supply any subset; a mode with no component renders nothing for that route.

interface ProfileComponents {
    create?: ComponentType<any>;
    edit?: ComponentType<any>;
    view?: ComponentType<any>;
}

Properties

Properties

create?: ComponentType<any>

Rendered for profile "create" operations (if any).

edit?: ComponentType<any>

Rendered for profile "edit" operations (PUT/PATCH).

view?: ComponentType<any>

Rendered for profile "view" operations (GET).