How to send data to side-drawer. I'm using table 'react-table' for showing table. Inside table I have view button. Whenever I click view button I'm able to open side-drawer. But I'm not able to send props to the side drawer. Please tell me how to send props. Without using context.
Please help!
Discover the latest collection of Embroidered chiffon dresses. Perfect for any occasion, these elegant and stylish dresses will make you stand out from the crowd. Stay fashionable with Fiza Minahil
Explore OneSkin's niacinamide serum, a skincare essential in Pakistan. Harness the power of niacinamide for smoother, clearer skin—Trust OneSkin for effective formulas crafted with quality ingredients.
Hi,
Thank you for reaching out to us.
If the variables you want to pass to the drawer component are located in the same file where you instantiate your drawer component, you can pass them through props. The same applies if you instantiate it in any of the child components, and you can do it through prop drilling.
However, if your components tree is more complex, it is recommended to use Context or app state libraries like react-redux or zustand.
Regards,
Lauris Stepanovs,
Keenthemes Support Team