StoresynkLocalePickerProps
Defined in: @storesynk/next/dist/components/StoresynkLocalePicker.d.ts:15
Server-rendered Markets locale picker region. Children are static host
elements containing <change-country> / <change-language> (select mode);
the server fills the selects from the shop’s localization data - options,
currency labels, active selection - and embeds the localization payload so
the client store adopts it without a fetch. Single-market shops keep the
pickers hidden, exactly like the client engine.
Pass locale (from getRequestLocale()) on dynamic routes so the buyer’s
chosen country is pre-selected server-side; without it the shop default is
selected and the engine corrects the selection at hydration.
Properties
Section titled “Properties”children
Section titled “children”children:
ReactNode
Defined in: @storesynk/next/dist/components/StoresynkLocalePicker.d.ts:19
fresh?
Section titled “fresh?”
optionalfresh?:boolean
Defined in: @storesynk/next/dist/components/StoresynkLocalePicker.d.ts:18
Bypass the persistent cache and fetch live, deduped per request (see StoresynkList).
locale?
Section titled “locale?”
optionallocale?:I18nState|null
Defined in: @storesynk/next/dist/components/StoresynkLocalePicker.d.ts:16