forked from mirrors/thatmattlove-hyperglass
9 lines
348 B
TypeScript
9 lines
348 B
TypeScript
import { chakra } from '@chakra-ui/react';
|
|
import { useColorValue } from '~/context';
|
|
|
|
import type { BoxProps } from '@chakra-ui/react';
|
|
|
|
export const TableHead = (props: BoxProps): JSX.Element => {
|
|
const bg = useColorValue('blackAlpha.100', 'whiteAlpha.100');
|
|
return <chakra.thead overflowX="hidden" overflowY="auto" bg={bg} {...props} />;
|
|
};
|