suisuyy
Rename project to xpaintai_zh in package.json and metadata.json; integrate translation support in various components and hooks
69ae4e4
| import { TranslationKey } from './translations'; | |
| // No global shared complex types needed for now. | |
| // Specific types/interfaces are defined within components or services where they are used. | |
| // Example: export interface Point { x: number; y: number; } if it were broadly used. | |
| export type TFunction = (key: TranslationKey, replacements?: Record<string, string | number>) => string; | |