react-base-table
react-base-table copied to clipboard
Is is possible to set width to maxContent?
When rendering the table, I'd like the table width to match whatever the max content of the table contents is. is this possible? Currently it seems using Autosizer, I need to set an actual number to the width attribute, but ultimately, like a div, I'd like to set it to "maxContent" or an equivalent.
Appreciate if you let me know how I might do that.
I did this with element-resize-detector and a div container.