1.0.2 • Published 4 years ago

use-table-tools v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Build Status Code Coverage MIT License PRs Welcome gzip size

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