Skip to content

Commit

Permalink
fix: pass missing props to table row
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlfischer committed Oct 9, 2024
1 parent eed203e commit b0f86f2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface RowProps extends HTMLProps<HTMLTableRowElement> {
}

const TableBodyRow = forwardRef<HTMLTableRowElement, RowProps>(
({ children, className, isExpanded, style }, ref) => {
({ children, className, isExpanded, style, ...props }, ref) => {
return (
<tr
className={classNames(
Expand All @@ -17,6 +17,7 @@ const TableBodyRow = forwardRef<HTMLTableRowElement, RowProps>(
)}
ref={ref}
style={style}
{...props}
>
{children}
</tr>
Expand Down

0 comments on commit b0f86f2

Please sign in to comment.