Interface OrganizationApplicationConfirmModalProps

interface OrganizationApplicationConfirmModalProps {
    buttonLabels: ModalButtonLabels;
    description: string;
    isOpen: boolean;
    modalType: "approve" | "reject";
    onCancel: (() => void);
    onSubmit: (() => void);
    title: string;
}

Properties

buttonLabels: ModalButtonLabels

button labels

description: string

Description for modal

isOpen: boolean

Used to show modal

modalType: "approve" | "reject"

Type of modal

onCancel: (() => void)

Callback for cancelling modal

Type declaration

    • (): void
    • Callback for cancelling modal

      Returns void

onSubmit: (() => void)

Callback for submitting modal

Type declaration

    • (): void
    • Callback for submitting modal

      Returns void

title: string

Title for modal

Generated using TypeDoc