sanity
Version:
Sanity is a real-time content infrastructure with a scalable, hosted backend featuring a Graph Oriented Query Language (GROQ), asset pipelines and fast edge caches
32 lines (31 loc) • 780 B
text/typescript
export * from './components/LocaleProvider'
export {
defineLocale,
defineLocaleResourceBundle,
defineLocalesResources,
removeUndefinedLocaleResources,
} from './helpers'
export * from './hooks/useGetI18nText'
export * from './hooks/useI18nText'
export * from './hooks/useLocale'
export * from './hooks/useTranslation'
export * from './locales'
export * from './Translate'
export type {
ImplicitLocaleResourceBundle,
LocaleConfigContext,
LocaleDefinition,
LocaleNestedResource,
LocalePluginOptions,
LocaleResourceBundle,
LocaleResourceKey,
LocaleResourceRecord,
LocalesBundlesOption,
LocalesOption,
LocaleSource,
LocaleWeekInfo,
StaticLocaleResourceBundle,
StudioLocaleResourceKeys,
TFunction,
ValidationLocaleResourceKeys,
} from './types'