1.1.6 • Published 4 years ago

react-best-table2 v1.1.6

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

React Best Table

Hooks for building lightweight, fast and extendable datagrids for React Create new and better form components to make it easier for users to get started.

Features

Lightweight Auto out of the box, fully controllable API Server-side/controlled data/state Resizable Sorting Custom class name

Documentation

API

  • theme
    • type : string
    • default : null
    • Description : dark / light
  • customStyle
    • type : object
    • default : null
    • Description : { nomral: { css style }, thead: { css style }, titem: { css style } }, Custom table style
  • className
    • type : string
    • default : null
    • Description : Custom category name
  • pagination
    • type : object
    • default : null
    • Description :
  • thead
  • handleSort
    • type : function
    • default : null
    • Description : return { sortStatus: 1(increasing)/0(initial)/-1(decrement), key: want sort key }
  • handlePagination
    • type : function
    • default : null
    • Description : return Current page number

使用 React Hooks 建構,可快速和擴展的數據網格的掛鉤。 創建新的更好的表單組件,使用戶更容易上手。

特徵

輕巧 開箱即用,完全可控制的API 服務器端/受控數據/狀態 可調整大小 排序 自定義類別名稱

使用文件

API