Skip to main content

Interface: LoginToOrderButtonProps

Defined in: components/LoginToOrderButton.tsx:13

Properties

className?

optional className?: string

Defined in: components/LoginToOrderButton.tsx:25

Extra classes appended to the button.


labels?

optional labels?: Record<string, string>

Defined in: components/LoginToOrderButton.tsx:22

Translated labels. Key: loginToOrder.


onLoginClick?

optional onLoginClick?: () => void

Defined in: components/LoginToOrderButton.tsx:19

Invoked when the button is clicked. The host owns navigation — the package cannot know whether the app routes with a Next <Link>, a Vue router or a plain redirect. When omitted the button still renders but does nothing.

Returns

void