mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
18 lines
378 B
JavaScript
18 lines
378 B
JavaScript
/** @jsx jsx */
|
|
import { jsx } from '@emotion/core';
|
|
import { Box, css } from '@chakra-ui/core';
|
|
|
|
export const TableBody = ({ children, ...props }) => (
|
|
<Box
|
|
as="tbody"
|
|
overflowY="scroll"
|
|
css={css({
|
|
'&::-webkit-scrollbar': { display: 'none' },
|
|
'&': { msOverflowStyle: 'none' },
|
|
})}
|
|
overflowX="hidden"
|
|
{...props}>
|
|
{children}
|
|
</Box>
|
|
);
|