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