T
TanStack3y ago
secure-lavender

Passing prop for action button on table cell

i know i can render a component as cell by returning the component on cell option inside ColumnDef, but how to pass the props into those component?
1 Reply
unwilling-turquoise
unwilling-turquoise3y ago
You can use the renderComponent helper exported by svelte table like: renderComponent(Comp, props)

Did you find this page helpful?