feat: init ai-platform - 源码 + 配置
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// Skeleton.tsx - 加载骨架屏
|
||||
export default function Skeleton({ rows = 5, height = 40 }: any) {
|
||||
return (
|
||||
<div className="skeleton-wrap">
|
||||
{Array.from({ length: rows }).map((_, i) => (
|
||||
<div key={i} className="skeleton" style={{ height, animationDelay: `${i * 0.08}s` }} />
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user