Skip to content

API ReferenceReact componentsInterface

CreateLOCFlowProps

Beta

Properties for the CreateLOCFlow shell.

The shell owns its typed step history and one workflow run at a time. A failed run returns to the step declared when it was prepared, restores that form’s values, puts field-owned validation issues back on the form, and reports the remaining failure in the destination banner.

Properties

cancelAuthorization?

optional cancelAuthorization?: CancelLOCAuthorizationSource;

Beta

Per-LOC cancellation authorization; overrides the provider source.


className?

optional className?: string;

Additional class names passed to the flow’s chrome.


config?

optional config?: CreateLOCComponentConfig;

Beta

Per-render creation config. Defined values override LOCConfig.createLOC; undefined inherits, while a null tag disables its provider source.


createOnly?

optional createOnly?: boolean;

Set if the component should only allow LOC creation, hiding the LOCListView and LOCDetailsView.


description?

optional description?: string;

The subtitle shown under title.


formValues?

optional formValues?: CreateLOCFormValues;

Beta

Values the create form starts from, such as the amount your product asks for. The customer can change them. A failed run’s own values take their place when the form comes back.


title?

optional title?: string;

The title to display within the component: over the LOC list, or over the create form when createOnly makes that form the flow’s home.