Added i18n exports
This commit is contained in:
+10
-2
@@ -16,9 +16,17 @@ export {
|
||||
useConsent,
|
||||
useConsentContext,
|
||||
} from '../modules/consent/client.js'
|
||||
|
||||
export type { CookieBannerClassNames } from '../modules/consent/client.js'
|
||||
export { resolveFormMessage } from '../modules/notifications/resolveFormMessage.js'
|
||||
export type { FormNotificationTexts } from '../modules/notifications/types.js'
|
||||
// Pure i18n path helpers — no server/RSC deps, safe to import in client
|
||||
// components (e.g. a LanguageSwitcher that computes locale URLs on the client).
|
||||
export {
|
||||
buildLocalizedPath,
|
||||
getLocaleCodes,
|
||||
getLocalizedSlugs,
|
||||
switchLocalePath,
|
||||
} from '../modules/i18n/index.js'
|
||||
export type { I18nConfig, LocalizedSlugs } from '../modules/i18n/index.js'
|
||||
export { Turnstile } from '../modules/turnstile/client.js'
|
||||
export { TurnstileProvider, useTurnstile } from '../modules/turnstile/client.js'
|
||||
export type { TurnstileProps } from '../modules/turnstile/client.js'
|
||||
|
||||
Reference in New Issue
Block a user