ScheduledEmailDialogActionBar()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The scheduled-export dialog’s action bar (documentation link, Delete in edit mode, Cancel, submit), connected to the dialog’s state.
Renders DefaultAutomationDialogActionBar() with the props ofuseScheduledEmailDialogActionBarProps(); every override prop replaces the hook’s value wholesale. The block does not own the save: pass handleSaveScheduledEmail andisSavingScheduledEmail from one useSaveScheduledEmailToBackend() instance, so an Enter handler elsewhere in the shell shares it. Renders nothing whileuseScheduledEmailDialogContext().isLoading is true.
export declare function ScheduledEmailDialogActionBar(props: IScheduledEmailDialogActionBarBlockProps): ReactElement;
Parameters
Parameter | Type | Description |
|---|---|---|
props |
Returns
ReactElement
Example
const { handleSaveScheduledEmail, isSavingScheduledEmail } = useSaveScheduledEmailToBackend(props);
<ScheduledEmailDialogActionBar
onCancel={props.onCancel}
onSubmit={handleSaveScheduledEmail}
isSaving={isSavingScheduledEmail}
/>;