Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 691 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 691 Bytes

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>
);