Files
gridpilot.gg/apps/website/ui/LeaderboardTableShell.tsx
2026-01-20 23:50:29 +01:00

19 lines
460 B
TypeScript

import { ReactNode } from 'react';
import { Box } from './Box';
import { Surface } from './Surface';
export interface LeaderboardTableShellProps {
children: ReactNode;
columns?: any[];
}
export const LeaderboardTableShell = ({ children, columns }: LeaderboardTableShellProps) => {
return (
<Surface variant="precision" rounded="xl" style={{ overflow: 'hidden' }} marginBottom={8}>
<Box>
{children}
</Box>
</Surface>
);
};