react-statix
Version:
React components for statix localization management
12 lines (11 loc) • 453 B
TypeScript
export interface StatixContextType {
editable: boolean;
locales: Record<string, any>;
updateLocalValue: (lang: string, key: string, value: string) => void;
pendingChanges: Record<string, Record<string, string>>;
resetChanges: () => void;
saveChanges: () => void;
usedLocales: Set<string>;
addUsedLocale: (key: string) => void;
}
export declare const StatixContext: import("react").Context<StatixContextType | undefined>;