Skip to content

Commit

Permalink
Merge pull request #161 from abusix/pla-1436-hailstorm-pass-htmltable…
Browse files Browse the repository at this point in the history
…rowelement-props-to-table-row

fix: pass missing props to table row
  • Loading branch information
mnlfischer authored Oct 9, 2024
2 parents eed203e + b0f86f2 commit afb52c0
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 afb52c0

Please sign in to comment.