Can I pass a callback prop to columns if they are defined in their own file?
I am using an example mostly from the shadcn/examples/tasks file. I want to have a dialog that pops up for a couple actions. I don't want to render the dialog on every row, so I have been adding the <Dialog/> component to my Table, and then passing a setOpen callback to the prop.
How can I pass a prop like this if my columns are defined in a separate file, that doesn't use hooks? GPT gave me this, is this correct?
1 Reply
probable-pinkOP•15mo ago
Reading, I can use meta it appears...