Files
gridpilot.gg/apps/website/ui/LeaderboardTableShell.tsx
2026-01-18 21:31:08 +01:00

18 lines
494 B
TypeScript

import React, { ReactNode } from 'react';
import { Box } from './primitives/Box';
import { Surface } from './primitives/Surface';
export interface LeaderboardTableShellProps {
children: ReactNode;
}
export const LeaderboardTableShell = ({ children }: LeaderboardTableShellProps) => {
return (
<Surface variant="default" rounded="xl" style={{ border: '1px solid var(--ui-color-border-default)', overflow: 'hidden' }}>
<Box>
{children}
</Box>
</Surface>
);
};