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
flat-fuchsia•4y ago
You can use the
renderComponent helper exported by svelte table like:
renderComponent(Comp, props)