Remove unnecessary JSDoc comments and redundant explanations from components, types, and data files. Simplify code structure while maintaining functionality. Clean up language handling logic in components by removing redundant comments and simplifying state management. Move type imports to dedicated type import statements where applicable.
17 lines
282 B
TypeScript
17 lines
282 B
TypeScript
import { languages } from '@/i18n/translations';
|
|
|
|
export type Lang = keyof typeof languages;
|
|
|
|
export type UiKeys = string;
|
|
|
|
export interface LanguageSwitcherProps {
|
|
lang: Lang;
|
|
}
|
|
|
|
export interface GlassHeaderProps {
|
|
lang: Lang;
|
|
}
|
|
|
|
export interface FooterProps {
|
|
lang?: Lang;
|
|
} |