interface ProductArchiveConfirmModalProps {
    buttonLabels: ProductArchiveConfirmModalButtonLabels;
    description: string;
    isOpen: boolean;
    onCancel: (() => void);
    onSubmit: (() => void);
    title: string;
}

Properties

button labels

description: string

Description for modal

isOpen: boolean

Used to show 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