The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/client/components/GenericTable/GenericTableHeader.tsx

12 lines
415 B

import { TableHead } from '@rocket.chat/fuselage';
import type { ComponentPropsWithoutRef } from 'react';
import { GenericTableRow } from './GenericTableRow';
type GenericTableHeaderProps = ComponentPropsWithoutRef<typeof TableHead>;
export const GenericTableHeader = ({ children, ...props }: GenericTableHeaderProps) => (
<TableHead {...props}>
<GenericTableRow>{children}</GenericTableRow>
</TableHead>
);