Interface: EmailApprovalCardProps
Props for EmailApprovalCard.
Properties
Section titled “Properties”disabled?
Section titled “disabled?”
optionaldisabled?:boolean
Disable both actions regardless of pending state.
email:
EmailDraft
onApprove?
Section titled “onApprove?”
optionalonApprove?: () =>void|Promise<void>
Called when the user approves the send.
Returns
Section titled “Returns”void | Promise<void>
onDeny?
Section titled “onDeny?”
optionalonDeny?: () =>void|Promise<void>
Called when the user denies the send.
Returns
Section titled “Returns”void | Promise<void>
pending?
Section titled “pending?”
optionalpending?:boolean
Disable both actions while a decision is in flight.
title?
Section titled “title?”
optionaltitle?:string
Header label. Defaults to “Approval needed: send email”.