1.0.3 • Published 5 years ago

html-react-table v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

html-react-table

Twitter

Simple html table using ReactJs

alt text

Install

npm install --save html-react-table

Usage

import ReactHtmlTable from 'html-react-table';
   
const columns = [{ key: 'id', name: 'ID' }, 
                 { key: 'company', name: 'company' },
                 { key: 'country', name: 'Country' }];
                    
const rows = [{ id: 1, company: 'TCS', country: 'India' }, 
              { id: 2, company: 'Google', country: 'USA' },
              { id: 3, company: 'Spotify', country: 'Sweden' }];

const ReactTable = () => {
return <ReactHtmlTable
columns={columns}
rows={rows}
/>
    }
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago