use-table-tools
v1.0.2
Published
react hook for building powerful table components
Downloads
7
Maintainers
Readme
Introduction
use-table-tools is a React Hooks library for building kickass react table components.
It features:
- flexbox table with adjustable column configuration
- checkboxes with multi select
- client side sorting
- shifting columns into or off view
- number of visible columns per screen resolution
Quick Start
import { useTableTools } from 'use-table-tools';
function Table() {
const { ...utils } = useTableTools({
layout: [''],
columns: [],
totalItems: 0,
});
return <div>hello from table component</div>;
}
Usage
Inside your React project directory, run the following:
yarn add use-table-tools
or with npm
npm install use-table-tools
API
Parameters
Return Values
Options
Global Configuration
LICENSE
MIT