333
This commit is contained in:
parent
8b94b16caa
commit
7d159498ec
|
|
@ -2,7 +2,7 @@ import { WeatherSearchForm } from "@/components/weather/WeatherSearchForm";
|
|||
import { WeatherDisplay } from "@/components/weather/WeatherDisplay";
|
||||
import { WeatherDetailsGrid } from "@/components/weather/WeatherDetailsGrid";
|
||||
import { useWeatherStore } from "@/store/weatherStore";
|
||||
import Cloud from "../../../assets/cloud.svg";
|
||||
import {Cloud} from 'lucide-react';
|
||||
|
||||
export function WeatherCard() {
|
||||
const { currentWeather } = useWeatherStore();
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Droplets,Wind,Gauge,Cloud,Eye,ThermometerSun} from "lucide-react";
|
||||
import React from "react";
|
||||
import { getWindDirection } from "@/components/lib/utils";
|
||||
import { getWindDirection } from "@/lib/utils";
|
||||
import {useWeatherStore} from "@/store/weatherStore";
|
||||
|
||||
interface WeatherInfoItemProps {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { useWeatherStore } from "@/store/weatherStore";
|
||||
import { Cloud, CloudDrizzle, CloudFog, CloudLightning, CloudMoon, CloudRain, CloudSnow, CloudSun, MapPin, Moon, Sun, ThermometerSun } from "lucide-react";
|
||||
import { formatTemperature } from "../lib/utils";
|
||||
import { formatTemperature } from "../../lib/utils";
|
||||
|
||||
interface WeatherIconProps {
|
||||
description: string;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
//天气搜索表单组件
|
||||
import { cn } from "@/components/lib/utils";
|
||||
import { cn } from "@/lib/utils";
|
||||
import React ,{useState,type FormEvent,type ChangeEvent, use} from "react";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Input} from "../ui/input";
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ importers:
|
|||
specifier: ^22.19.0
|
||||
version: 22.19.1
|
||||
'@types/react':
|
||||
specifier: ^19.1.13
|
||||
specifier: ^19.2.4
|
||||
version: 19.2.4
|
||||
'@types/react-dom':
|
||||
specifier: ^19.1.9
|
||||
|
|
|
|||
Loading…
Reference in New Issue