⬆️ Upgrade to @tabler/icons-react

This commit is contained in:
ajnart
2023-05-15 17:40:59 +09:00
parent 830adad22f
commit 6f48cafd42
73 changed files with 160 additions and 94 deletions

View File

@@ -8,8 +8,8 @@ import {
IconQuestionMark,
IconSnowflake,
IconSun,
TablerIcon,
} from '@tabler/icons';
Icon,
} from '@tabler/icons-react';
import { useTranslation } from 'next-i18next';
interface WeatherIconProps {
@@ -36,7 +36,7 @@ export const WeatherIcon = ({ code }: WeatherIconProps) => {
);
};
type WeatherDefinitionType = { icon: TablerIcon; name: string; codes: number[] };
type WeatherDefinitionType = { icon: Icon; name: string; codes: number[] };
// 0 Clear sky
// 1, 2, 3 Mainly clear, partly cloudy, and overcast