joaocarmo / react-very-simple-data-table

When all you want is a table

Home Page:https://joaocarmo.com/react-very-simple-data-table/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-very-simple-data-table

npm version

When all you want is a table !

About

A very simple and flexible data table for React.js. If you don't want to think about rendering or need some smarts, try react-smart-data-table.

This is in a very experimental stage

Installation

npm install react-very-simple-data-table

# or

yarn add react-very-simple-data-table

Features

  • Allows custom rendering
  • Renders an horizontal table
  • Renders a vertical table
  • Easily customizable using CSS by passing a className prop
  • Allows custom table elements for: table, tbody, td, tfoot, th, thead, tr

Usage

Please check the examples until the documentation is complete.

Demos

You can experiment with a demo here.

Testing

Run tests using Jest:

yarn test

Forking / Contributing

If you want to fork or contribute, it's easy to test your changes. Just run the start command to and a development HTTP server will start in your computer, accessible from your browser at the address http://localhost:3000/.

yarn start

About

When all you want is a table

https://joaocarmo.com/react-very-simple-data-table/

License:MIT License


Languages

Language:JavaScript 95.3%Language:HTML 4.0%Language:Shell 0.7%