Skip to content

Commit 73071ee

Browse files
committed
Add an action dispatcher prop for the renderComponent
1 parent d84361f commit 73071ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/Table/TableContent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
// Render the cell with the provided component, or use the toStringFn if provided, or just use the value
156156
cell: ({ value, row }) => {
157157
return renderComponent
158-
? createRender(renderComponent, { value, row })
158+
? createRender(renderComponent, { value, row, dispatchFn: actionDispatcher })
159159
: toStringFn
160160
? toStringFn(value)
161161
: value;

0 commit comments

Comments
 (0)