1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
Files
checktheroads-hyperglass/hyperglass/ui/components/table/body.tsx

17 lines
360 B
TypeScript
Raw Normal View History

2021-01-01 11:32:35 -07:00
import { Box } from '@chakra-ui/react';
import type { BoxProps } from '@chakra-ui/react';
2021-01-03 23:51:09 -07:00
export const TableBody: React.FC<BoxProps> = (props: BoxProps) => (
2021-01-01 11:32:35 -07:00
<Box
as="tbody"
overflowY="scroll"
css={{
'&::-webkit-scrollbar': { display: 'none' },
'&': { msOverflowStyle: 'none' },
}}
overflowX="hidden"
{...props}
/>
);