Skip to content

Interface: EmailApprovalCardProps

Props for EmailApprovalCard.

optional disabled?: boolean

Disable both actions regardless of pending state.


email: EmailDraft


optional onApprove?: () => void | Promise<void>

Called when the user approves the send.

void | Promise<void>


optional onDeny?: () => void | Promise<void>

Called when the user denies the send.

void | Promise<void>


optional pending?: boolean

Disable both actions while a decision is in flight.


optional title?: string

Header label. Defaults to “Approval needed: send email”.