/epub-table

A simple and powerful Datatable for React based on antd ProTable.

Primary LanguageTypeScript

epub-table

A simple and powerful Datatable for React based on antd ProTable.

NPM JavaScript Style Guide Build Status Codecov

Install

npm install --save epub-table

Usage

import React, { Component } from 'react'

import MyComponent from 'epub-table'
import 'epub-table/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}

For Details: See Example

Developing and running on localhost

First install dependencies and then install peerDeps for parcel dev:

npm install
npm run install-peers

To run Example in hot module reloading mode:

npm start

To create a parcel production build:

npm run build-prod

To create a bundle library module build:

npm run build

Running

Open the file dist/index.html in your browser

Testing

To run unit tests:

npm test

License

MIT © garry