mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
Width options (`width`, `minWidth`, `maxWidth`) options are now a part of the core column object. useBlockLayout and useAbsoluteLayout hooks now use this new internalized information to implement their layouts. Those examples have been updated. A virtualized-rows example has also been added to show off how the useBlockLayout hook can be used to virtualize rows with react-window.
10 lines
241 B
JavaScript
10 lines
241 B
JavaScript
import React from 'react'
|
|
import ReactDOM from 'react-dom'
|
|
import App from './App'
|
|
|
|
it('renders without crashing', () => {
|
|
const div = document.createElement('div')
|
|
ReactDOM.render(<App />, div)
|
|
ReactDOM.unmountComponentAtNode(div)
|
|
})
|