IDefaultScheduledEmailDialogProps
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Props of DefaultScheduledEmailDialog().
export interface IDefaultScheduledEmailDialogProps extends IScheduledEmailDialogProps
Extends: IScheduledEmailDialogProps
Remarks
Extends the shared IScheduledEmailDialogProps with customization only the default implementation supports. Slots render only in the fully rendered dialog: not while the dialog context reports loading, and not while the stale-filters confirmation step is shown. The Filters slot additionally renders only while the Filters tab is selected; the Destination and Recipients slots only while the General tab is — see IScheduledEmailDialogSlots.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
ReactNode | (BETA) (Optional) Content rendered as the last child of the dialog’s scrollable content area, below the form. Same rendering conditions as IDefaultScheduledEmailDialogProps.topContent. Rendered on both tabs — it is a content-area child, not a tab child. | ||
(BETA) (Optional) Section-level overrides. Each slot receives | |||
ReactNode | (BETA) (Optional) Content rendered as the first child of the dialog’s scrollable content area, above the form. Rendered only in the fully rendered dialog: not while the dialog context reports loading, and not while the stale-filters confirmation step is shown. Rendered on both tabs — it is a content-area child, not a tab child. |
Property details
IDefaultScheduledEmailDialogProps.bottomContentpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Content rendered as the last child of the dialog’s scrollable content area, below the form. Same rendering conditions as IDefaultScheduledEmailDialogProps.topContent. Rendered on both tabs — it is a content-area child, not a tab child.
bottomContent?: ReactNode;
IDefaultScheduledEmailDialogProps.slotspropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Section-level overrides. Each slot receives { Default, defaultProps } — Default is the region’s exported render component (DefaultScheduledEmailDialogHeader for Header, and so on) and defaultProps the return of the region’s props hook (useScheduledEmailDialogHeaderProps()) — and may render its own content (replace) or <Default {...defaultProps} /> inside its own markup (wrap).
slots?: IScheduledEmailDialogSlots;
Example
The dialog is reached through the Dashboard component override; define slot components at module scope (see ):
function RecipientsWithNote({ Default, defaultProps }: ISlotProps<IScheduledEmailDialogRecipientsProps>) {
return (
<>
<Default {...defaultProps} />
<Note>External recipients receive a public link.</Note>
</>
);
}
<Dashboard
ScheduledEmailDialogComponent={(props) => (
<DefaultScheduledEmailDialog {...props} slots={{ Recipients: RecipientsWithNote }} />
)}
/>;
IDefaultScheduledEmailDialogProps.topContentpropertyBeta
Beta API. Mostly stable, but details may change in a minor release, outside SemVer. See API maturity.
Content rendered as the first child of the dialog’s scrollable content area, above the form. Rendered only in the fully rendered dialog: not while the dialog context reports loading, and not while the stale-filters confirmation step is shown. Rendered on both tabs — it is a content-area child, not a tab child.
topContent?: ReactNode;