import React from 'react' import { cn } from "../../utils/cn" import { UnifiedSkeleton, TextSkeleton, InteractiveSkeleton } from './unified-skeleton' interface SkeletonProps { className?: string /** * Number of input fields to render on the right column (defaults to 4). */ fields?: number } /** * MspProfileFormSkeleton * ----------------------------------------------------------------------------- * Loading state for the component used in the Share-Your-Stack * wizard (and any other area that re-uses the form). * * Design Notes: * – Two-column grid matching the live component (logo upload on the left, * text / numeric inputs on the right). * – Left column: square/circular media skeleton to represent logo uploader. * – Right column: label + input pair per field. * – Mobile (<768px) collapses to one column via grid existing classes. * – Uses UnifiedSkeleton system to stay consistent with global loading design. */ export function MspProfileFormSkeleton({ className, fields = 4, }: SkeletonProps) { return (
{/* Left – Logo uploader placeholder */}
{/* Label skeleton */}
{/* Right – Input fields grid (mirrors form) */}
{Array.from({ length: fields }).map((_, idx) => (
))}
) }