Skip to main content

Interface: RequestPriceButtonProps

Defined in: components/RequestPriceButton.tsx:10

Properties​

added?​

optional added?: boolean

Defined in: components/RequestPriceButton.tsx:19

True once the product is on the list.


className?​

optional className?: string

Defined in: components/RequestPriceButton.tsx:25

Extra classes appended to the button.


isAuthenticated?​

optional isAuthenticated?: boolean

Defined in: components/RequestPriceButton.tsx:21

Whether a session exists. Anonymous visitors get the log-in action.


labels?​

optional labels?: Record<string, string>

Defined in: components/RequestPriceButton.tsx:23

Translated labels. Keys: requestPrice, priceRequested.


onLoginClick?​

optional onLoginClick?: () => void

Defined in: components/RequestPriceButton.tsx:17

Sends an anonymous visitor to log in. A quote is addressed to someone, so the list is only offered to signed-in shoppers.

Returns​

void


onRequestPrice?​

optional onRequestPrice?: () => void

Defined in: components/RequestPriceButton.tsx:12

Adds the product to the price-request list.

Returns​

void