bananas-commerce-admin
Version:
What's this, an admin for apes?
11 lines (10 loc) • 501 B
TypeScript
import React from "react";
export declare function interpolateString(string: string, params: Record<string, string> | string[]): string;
export interface I18nContext {
i18n: Record<string, string> | undefined;
t: (key: string, params?: Record<string, string> | string[]) => string;
}
declare const I18nContext: React.Context<I18nContext>;
export declare const useI18n: () => I18nContext;
export declare const I18nContextProvider: React.FC<React.PropsWithChildren>;
export default I18nContext;