Skip to content

Commit bd82468

Browse files
michaelbridgetannerlinsley
authored andcommitted
Pass relevant attributes to footer JSX (TanStack#116)
1 parent 6d28bb2 commit bd82468

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,10 @@ export default React.createClass({
696696
{...tFootTdProps.rest}
697697
{...columnFooterProps.rest}
698698
>
699-
{_.normalizeComponent(column.footer)}
699+
{_.normalizeComponent(column.footer, {
700+
data: sortedData,
701+
column: column
702+
})}
700703
</TdComponent>
701704
)
702705
})}

0 commit comments

Comments
 (0)