import type { ReactNode } from 'react' import type { UseQueryResult } from '@tanstack/react-query' import { AutoSkeleton } from 'auto-skeleton-react' import { ErrorState } from '@/components/error-state' interface ContentSkeletonProps { loading: boolean children: ReactNode borderRadius?: number minTextHeight?: number maxDepth?: number className?: string } export function ContentSkeleton(props: ContentSkeletonProps) { return (