1.1.3 • Published 1 year ago

tableview-library v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Table View Library

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save tableview-library

Main features

  • Sorting
  • Search
  • Column Ordering
  • Custum number of table line

Example

import React, {useState} from 'react';

import TableView from 'tableview-library';
import 'tableview-library/dist/index.css';

export default function Example() {
  const[dataTable, setDataTable] = useState([{}]);
  const dataName = [];  // Name of each data to spread it on the table
  const keys = []; // Real name of each value from the dataTable

  return (
    <TableView
      columns={dataName}
      datas={dataTable}
      setDatas={setDataTable}
      keys={keys} 
    />
  );
}

License

MIT © mgasoftware

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago