18 lines
494 B
TypeScript
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>
|
|
);
|
|
};
|