interface CreateOrderConfirmationModalProps {
    buttonLabels: {
        close?: string;
        confirm?: string;
    };
    content: ReactNode;
    contentTitle: string;
    description: ReactNode;
    isOpen?: boolean;
    onClose: (() => void);
    onConfirm: (() => void);
    title: string;
}

Properties

buttonLabels: {
    close?: string;
    confirm?: string;
}

Custom buttonLabels for modal buttons

Type declaration

  • Optional close?: string
  • Optional confirm?: string
content: ReactNode

Content of modal

contentTitle: string

Content title of the modal

description: ReactNode

Bottom description for modal

isOpen?: boolean

Used to show modal

onClose: (() => void)

Callback for closing modal

Type declaration

    • (): void
    • Callback for closing modal

      Returns void

onConfirm: (() => void)

Callback for submitting modal

Type declaration

    • (): void
    • Callback for submitting modal

      Returns void

title: string

Title for modal

Generated using TypeDoc