Skip to main content

MandateManagerProps

@mandaitor/react


@mandaitor/react / MandateManagerProps

Interface: MandateManagerProps

Defined in: components/MandateManager.tsx:6

Properties

allowReactivate?

optional allowReactivate: boolean

Defined in: components/MandateManager.tsx:18

Allow reactivating suspended mandates


allowRevoke?

optional allowRevoke: boolean

Defined in: components/MandateManager.tsx:14

Allow revoking mandates


allowSuspend?

optional allowSuspend: boolean

Defined in: components/MandateManager.tsx:16

Allow suspending mandates


className?

optional className: string

Defined in: components/MandateManager.tsx:23


filter?

optional filter: object

Defined in: components/MandateManager.tsx:8

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.tsx:20

Callback when a mandate is selected

Parameters

mandate

Mandate

Returns

void


onStatusChange()?

optional onStatusChange: (mandate, newStatus) => void

Defined in: components/MandateManager.tsx:22

Callback after any status change

Parameters

mandate

Mandate

newStatus

MandateStatus

Returns

void