'How to set a transition while expanding a react-data-table-component row

I would like to set a transition while opening and closing an expandable row of a react-data-table-component table. I haven't found any param in docs, so I've tried to set a transition on the .rdt_ExpanderRow class, but it doesn't work because the <div class="sc-pVTFL iOEwRt rdt_ExpanderRow"> does not exists before the expandable row is opened. Any suggestions will be appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source