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

1.0.32 • Public • Published

react-window-table

Currently under development. inspired by react-window

documentation (in progress)

import { WindowTable } from 'react-window-table';

const Cell = ({ rowIndex, columnIndex, className, style }) => (
  <div className={className} style={style}>
    {rowIndex} , {columnIndex}
  </div>
);

const Sample = () => (
  <WindowTable.Core
    height={300}
    rowCount={100}
    rowHeight={40}
    columnCount={100}
    columnWidth={100}
    fixedTopCount={1}
    fixedRightCount={1}
    fixedBottomCount={1}
    fixedLeftCount={1}
  >
    {Cell}
  </WindowTable.Core>
);

Readme

Keywords

none

Package Sidebar

Install

npm i react-window-table

Weekly Downloads

0

Version

1.0.32

License

MIT

Unpacked Size

107 kB

Total Files

22

Last publish

Collaborators

  • bluewings