Files
Genarrative/src/components/common/PlatformProfileSkeletonList.tsx
T
kdletters 071faa482c 统一 Rust 与 TypeScript 格式化门禁
纳入 AGC Cargo workspace 的统一 rustfmt 检查与格式化入口

完成项目 TypeScript/Prettier 与 Rust 全量格式化

修复 Pingora expected executable 门禁的空白敏感误报

同步开发运维文档与 AGC skill pack 格式化忽略规则
2026-09-01 16:28:34 +08:00

29 lines
716 B
TypeScript

type PlatformProfileSkeletonListProps = {
count: number;
containerClassName?: string;
itemClassName?: string;
};
/**
* 个人中心白底 modal 列表读取骨架。
* 只负责重复 skeleton 行与容器节奏,行高和栅格继续由调用方微调。
*/
export function PlatformProfileSkeletonList({
count,
containerClassName,
itemClassName,
}: PlatformProfileSkeletonListProps) {
return (
<div className={containerClassName}>
{Array.from({ length: count }).map((_, index) => (
<div
key={index}
className={['animate-pulse rounded-xl bg-zinc-100', itemClassName]
.filter(Boolean)
.join(' ')}
/>
))}
</div>
);
}