import React from 'react';
import { Box } from '@/ui/Box';
import { Text } from '@/ui/Text';
interface LeaderboardTableShellProps {
children: React.ReactNode;
isEmpty?: boolean;
emptyMessage?: string;
emptyDescription?: string;
}
export function LeaderboardTableShell({
children,
isEmpty,
emptyMessage = 'No data found',
emptyDescription = 'Try adjusting your filters or search query',
}: LeaderboardTableShellProps) {
if (isEmpty) {
return (
🔍
{emptyMessage}
{emptyDescription}
);
}
return (
{children}
);
}