import { Widget } from '@@/Widget'; import { ActionBarShell } from './ActionBarShell'; interface Props { statBlockCount?: 0 | 1 | 2; hasActionBar?: boolean; } export function ResourceDetailHeaderSkeleton({ statBlockCount = 0, hasActionBar = true, }: Props) { return (
{statBlockCount > 0 && (
{Array.from({ length: statBlockCount }).map((_, i) => (
))}
)}
{hasActionBar && (
)} ); }