'use client' import { useTranslation } from 'react-i18next' import { cn } from '@/utils/classnames' import './style.css' type ILoadingProps = { type?: 'area' | 'app' className?: string } const Loading = (props?: ILoadingProps) => { const { type = 'area', className } = props || {} const { t } = useTranslation() return (