Skip to main content

MandateManagerProps

@mandaitor/react


@mandaitor/react / MandateManagerProps

Interface: MandateManagerProps

Defined in: components/MandateManager.d.ts:4

Props for MandateManager: an optional filter and toggles for which lifecycle actions the operator may take.

Properties​

allowReactivate?​

optional allowReactivate?: boolean

Defined in: components/MandateManager.d.ts:16

Allow reactivating suspended mandates


allowRevoke?​

optional allowRevoke?: boolean

Defined in: components/MandateManager.d.ts:12

Allow revoking mandates


allowSuspend?​

optional allowSuspend?: boolean

Defined in: components/MandateManager.d.ts:14

Allow suspending mandates


className?​

optional className?: string

Defined in: components/MandateManager.d.ts:21


filter?​

optional filter?: object

Defined in: components/MandateManager.d.ts:6

Filter mandates by status, resource, or delegate

delegate_id?​

optional delegate_id?: string

resources?​

optional resources?: string[]

status?​

optional status?: MandateStatus[]


onMandateSelect?​

optional onMandateSelect?: (mandate) => void

Defined in: components/MandateManager.d.ts:18

Callback when a mandate is selected

Parameters​

mandate​

Mandate

Returns​

void


onStatusChange?​

optional onStatusChange?: (mandate, newStatus) => void

Defined in: components/MandateManager.d.ts:20

Callback after any status change

Parameters​

mandate​

Mandate

newStatus​

MandateStatus

Returns​

void