mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 07:25:48 +01:00
🏷️ Apply namespace types to translations
This commit is contained in:
@@ -4,8 +4,12 @@ import { useTranslation } from 'next-i18next';
|
||||
import { DashDotCompactNetwork, DashDotInfo } from './DashDotCompactNetwork';
|
||||
import { DashDotCompactStorage } from './DashDotCompactStorage';
|
||||
|
||||
import { CustomTypeOptions } from 'i18next';
|
||||
|
||||
type GraphType = keyof CustomTypeOptions['resources']['modules/dashdot']['card']['graphs'];
|
||||
|
||||
interface DashDotGraphProps {
|
||||
graph: string;
|
||||
graph: GraphType;
|
||||
graphHeight: number;
|
||||
isCompact: boolean;
|
||||
multiView: boolean;
|
||||
|
||||
Reference in New Issue
Block a user