react-fluid-table
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

react-fluid-table

A React table inspired by react-window

(Note: This project is under construction)

NPM JavaScript Style Guide

Install

# using yarn
yarn add react-fluid-table

# using npm
npm i react-fluid-table

Usage

import { Table } from "react-fluid-table";

const data = _.range(100).map(i => ({
  id: i + 1,
  firstName: randFirstName(),
  lastName: randLastName(),
  email: randEmail()
}));

const columns = [
  {
    key: "firstName",
    header: "First Name",
    width: 100
  },
  {
    key: "lastName",
    header: "Last Name",
    width: 100
  },
  {
    key: "email",
    header: "Email"
  }
];

const Example = () => <Table data={data} columns={columns} />;

Development

To get a development environment working, run the following:

Installation

$ yarn install
$ cd example
$ yarn install

Usage

# in one terminal window/tab
$ yarn start
# in a separate terminal window/tab
$ cd example
$ yarn dev

License

MIT © Mckervin Ceme <mckervinc@live.com>


This application was created using create-react-hook.

This application features some icons from Font Awesome.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.5.1
    61
    • latest

Version History

Package Sidebar

Install

npm i react-fluid-table

Weekly Downloads

951

Version

0.5.1

License

MIT

Unpacked Size

111 kB

Total Files

9

Last publish

Collaborators

  • canyoucemenow