'use client'; import * as React from 'react'; import { Card, CardHeader, CardContent, CardFooter } from '../../ui/card'; import { Skeleton } from '../../ui/skeleton'; import { cn } from '../../shared/utils'; export interface FeatureCardSkeletonProps extends React.HTMLAttributes { /** Whether to show the footer action button placeholder */ showAction?: boolean; } /** * Loading placeholder for `FeatureCard`. * * @description * Mirrors the visual layout of `FeatureCard`: icon block + title + badge in * the header, description text in content, and an optional action button footer. * * @example * ```tsx * {isLoading ? : } * ``` */ export function FeatureCardSkeleton({ showAction = true, className, ...props }: FeatureCardSkeletonProps) { return (
{/* Icon block */} {/* Title + badge */}
{showAction && ( )}
); }