build(deps): update dependencies and update relevant files

This commit is contained in:
sct
2020-12-08 04:14:18 +00:00
parent 2d51efd716
commit 79a352b7b3
37 changed files with 384 additions and 375 deletions

View File

@@ -1,4 +1,4 @@
import React, { HTMLAttributes, AllHTMLAttributes } from 'react';
import React, { AllHTMLAttributes } from 'react';
import { withProperties } from '../../../utils/typeHelpers';
const TBody: React.FC = ({ children }) => {
@@ -20,7 +20,11 @@ const TH: React.FC<AllHTMLAttributes<HTMLTableHeaderCellElement>> = ({
style.push(className);
}
return <th className={style.join(' ')}>{children}</th>;
return (
<th className={style.join(' ')} {...props}>
{children}
</th>
);
};
interface TDProps extends AllHTMLAttributes<HTMLTableCellElement> {