interface CreateOrderLoggedOutModalProps {
    buttonLabels: {
        close: string;
        login: string;
        registration: string;
    };
    content: ReactNode;
    isOpen?: boolean;
    onClose: (() => void);
    onLogin: (() => void);
    onRegistration: (() => void);
}

Properties

buttonLabels: {
    close: string;
    login: string;
    registration: string;
}

Button labels

Type declaration

  • close: string
  • login: string
  • registration: string
content: ReactNode

Bottom content for modal

isOpen?: boolean

Used to show modal

onClose: (() => void)

Callback for close button

Type declaration

    • (): void
    • Callback for close button

      Returns void

onLogin: (() => void)

Callback for login button

Type declaration

    • (): void
    • Callback for login button

      Returns void

onRegistration: (() => void)

Callback for registration button

Type declaration

    • (): void
    • Callback for registration button

      Returns void

Generated using TypeDoc