react-statix
Version:
React components for statix localization management
13 lines (12 loc) • 349 B
TypeScript
export type LanguagesKeys = Record<string, string>;
export interface StatixConfig {
localePath: string;
languagesKeys?: LanguagesKeys;
editable?: boolean;
onSave?: (changes: Record<string, Record<string, string>>) => void;
}
export interface FlattenedLocale {
path: string;
key: string;
values: Record<string, string>;
}