ScheduledEmailDialogRecipients()
Beta API. Mostly stable, but details may change in a minor release, outside SemVer.
The scheduled-export dialog’s recipients region, connected to the dialog’s state.
Renders DefaultScheduledEmailDialogRecipients() with the props of useScheduledEmailDialogRecipientsProps(); every prop passed here replaces the hook’s value for that prop wholesale, e.g. <ScheduledEmailDialogRecipients maxRecipients={3} />. Pass onKeyDownSubmit to submit on Enter from the recipients input — the default dialog passes a handler over its single useSaveScheduledEmailToBackend() instance; without it Enter does nothing here. Renders nothing while useScheduledEmailDialogContext().isLoading is true.
export declare function ScheduledEmailDialogRecipients(props: Partial<IScheduledEmailDialogRecipientsProps>): ReactElement;
Parameters
Parameter | Type | Description |
|---|---|---|
props | Partial<IScheduledEmailDialogRecipientsProps> |
Returns
ReactElement