react-window-grid
TypeScript icon, indicating that this package has built-in type declarations

1.0.29 • Public • Published

react-window-grid

Currently under development. inspired by react-window

documentation (in progress)

import { WindowGrid } from 'react-window-grid';
 
const Cell = ({ rowIndex, columnIndex, className, style }) => (
  <div className={className} style={style}>
    {rowIndex} , {columnIndex}
  </div>
);
 
const Sample = () => (
  <WindowGrid.Core
    height={300}
    rowCount={100}
    rowHeight={40}
    columnCount={100}
    columnWidth={100}
    fixedTopCount={1}
    fixedRightCount={1}
    fixedBottomCount={1}
    fixedLeftCount={1}
  >
    {Cell}
  </WindowGrid.Core>
);

Readme

Keywords

none

Package Sidebar

Install

npm i react-window-grid

Weekly Downloads

46

Version

1.0.29

License

MIT

Unpacked Size

133 kB

Total Files

22

Last publish

Collaborators

  • bluewings