🐛 fix(types): Checking

This commit is contained in:
web@ppanel
2024-11-26 19:21:37 +07:00
parent c7e50a9b84
commit 2992824353
34 changed files with 2085 additions and 3150 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
'use client';
import Lottie, { LottieComponentProps } from 'lottie-react';
import { type LottieComponentProps } from 'lottie-react';
import dynamic from 'next/dynamic';
import gift from './gift.json';
import globalMap from './global-map.json';
import loading from './loading.json';
@@ -12,6 +13,7 @@ import rocket from './rocket.json';
import servers from './servers.json';
import sun from './sun.json';
import users from './users.json';
const Lottie = dynamic(() => import('lottie-react'), { ssr: false });
export function RocketLoadingIcon(props: Omit<LottieComponentProps, 'animationData'>) {
return <Lottie {...props} loop animationData={rocket} />;