演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
564 B
TypeScript
18 lines
564 B
TypeScript
import { useTranslation } from 'react-i18next'
|
|
import { SkeletonContainer, SkeletonRectangle } from '@/app/components/base/skeleton'
|
|
|
|
function PanelLoading() {
|
|
const { t } = useTranslation(['common'])
|
|
|
|
return (
|
|
<SkeletonContainer role="status" aria-label={t(($) => $.loading)} className="p-4">
|
|
<SkeletonRectangle className="h-4 w-24" />
|
|
<SkeletonRectangle className="h-20 w-full" />
|
|
<SkeletonRectangle className="h-4 w-24" />
|
|
<SkeletonRectangle className="h-20 w-full" />
|
|
</SkeletonContainer>
|
|
)
|
|
}
|
|
|
|
export default PanelLoading
|