ScheduledEmailDialogSubject()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The scheduled-export dialog’s subject field, connected to the dialog’s state.
Renders DefaultScheduledEmailDialogSubject() with the props ofuseScheduledEmailDialogSubjectProps(); every prop passed here replaces the hook’s value for that prop wholesale. Pass onKeyDownSubmit to submit on Enter from the subject input — the default dialog passes its save action; without it Enter does nothing here. Renders nothing whileuseScheduledEmailDialogContext().isLoading is true and for an in-platform notification channel (which has no e-mail subject), the same visibility the default dialog gives the field.
export declare function ScheduledEmailDialogSubject(props: Partial<IScheduledEmailDialogSubjectProps>): ReactElement;
Parameters
Parameter | Type | Description |
|---|---|---|
props | Partial<IScheduledEmailDialogSubjectProps> |
Returns
ReactElement