Closed hipstersmoothie closed 4 years ago
Hey @hipstersmoothie Thanks a lot for the PR. However, this will be a bit tricky. Although react-window allows string widths, window-table does some calculations using the numeric value. Thus making it accept strings will break a bunch of things.
The solution as of now would be to have a wrapper which can take care of the width for us.
<div style={{ width: '50rem'}}>
<WindowTable {/*props*/} />
</div>
the react-window docs say that the width can be a string like
4rem