diff --git a/src/components/Table/TableBody.tsx b/src/components/Table/TableBody.tsx index 1d677426..c2340f0d 100644 --- a/src/components/Table/TableBody.tsx +++ b/src/components/Table/TableBody.tsx @@ -29,7 +29,7 @@ const TableBodyMain = styled.tbody( ); const TableBody: FC< - TableComponentsExtraProps & React.TableHTMLAttributes + TableComponentsExtraProps & React.HTMLAttributes > = ({ children, sx, ...restProps }) => { return ( diff --git a/src/components/Table/TableCell.tsx b/src/components/Table/TableCell.tsx index f201c3af..da405345 100644 --- a/src/components/Table/TableCell.tsx +++ b/src/components/Table/TableCell.tsx @@ -39,8 +39,7 @@ const TableCellMain = styled.td(({ theme, sx }) => ({ })); const TableCell: FC< - TableComponentsExtraProps & - React.TableHTMLAttributes + TableComponentsExtraProps & React.TdHTMLAttributes > = ({ children, sx, ...restProps }) => { return ( diff --git a/src/components/Table/TableHead.tsx b/src/components/Table/TableHead.tsx index d1ee65b9..e48579eb 100644 --- a/src/components/Table/TableHead.tsx +++ b/src/components/Table/TableHead.tsx @@ -29,7 +29,7 @@ const TableHeadMain = styled.thead( ); const TableHead: FC< - TableComponentsExtraProps & React.TableHTMLAttributes + TableComponentsExtraProps & React.HTMLAttributes > = ({ children, sx, ...restProps }) => { return ( diff --git a/src/components/Table/TableHeadCell.tsx b/src/components/Table/TableHeadCell.tsx index d1188a8d..f9e3d800 100644 --- a/src/components/Table/TableHeadCell.tsx +++ b/src/components/Table/TableHeadCell.tsx @@ -41,8 +41,7 @@ const TableHeadCellMain = styled.th( ); const TableHeadCell: FC< - TableComponentsExtraProps & - React.TableHTMLAttributes + TableComponentsExtraProps & React.ThHTMLAttributes > = ({ children, sx, ...restProps }) => { return ( diff --git a/src/components/Table/TableRow.tsx b/src/components/Table/TableRow.tsx index cc901d38..67de8ffe 100644 --- a/src/components/Table/TableRow.tsx +++ b/src/components/Table/TableRow.tsx @@ -33,7 +33,7 @@ const TableRowMain = styled.tr(({ theme, sx }) => ({ })); const TableRow: FC< - TableComponentsExtraProps & React.TableHTMLAttributes + TableComponentsExtraProps & React.HTMLAttributes > = ({ children, sx, ...restProps }) => { return (