m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 01:23:39 -05:00

Switch to Lucide Icons

This commit is contained in:
Sergio
2025-02-15 12:50:59 +02:00
parent 550fb955a3
commit f79d7ff03a
8 changed files with 34 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
import { IconLoader2 } from "@tabler/icons-react";
import { Data } from "../types";
import Logo from "./Logo";
import { theme } from "../theme";
import { RefreshCw } from "lucide-react";
export default function Loading({ onLoad }: { onLoad: (data: Data) => void }) {
fetch(
@@ -28,7 +28,7 @@ export default function Loading({ onLoad }: { onLoad: (data: Data) => void }) {
<div
className={`flex h-full items-center justify-center gap-1 text-${theme}-500 dark:text-${theme}-400`}
>
Loading <IconLoader2 className="animate-spin" />
Loading <RefreshCw className="animate-spin" />
</div>
</div>
</div>