hrnet-table

1.1.1 • Public • Published

hrnet-table

hrnet-table is an open-source react plug-in for boosting an HTML table

Install

Install using npm install hrnet-table

Usage

// Example one
import Table from 'hrnet-table';

state = {
    employee = [
        {
            FirstName: 'Xavier',
            LastName: 'Canel',
            StartDate: '09/10/2021',
            Department: 'Human Resources',
            DateBirth: '01/23/1990',
            Street: '30 rue de la Presse',
            City: 'Citron-Normal',
            State: 'CT',
            ZipCode: '13994',
        },
        {
            FirstName: 'Rachid',
            LastName: 'Boubekeur',
            StartDate: '01/03/2021',
            Department: 'Human Resources',
            DateBirth: '03/22/2000',
            Street: '10 rue de Charcot',
            City: 'Citron-Normal',
            State: 'CT',
            ZipCode: '13994',
        }
    ]
}

<Table state={state}>`
// Example two
import { useSelector } from 'react-redux';
import { employeeSelector } from '../../slice/Employee';
import Table from 'hrnet-table';

const state = useSelector(employeeSelector);

<Table state={state}>`

Package Sidebar

Install

npm i hrnet-table

Weekly Downloads

3

Version

1.1.1

License

ISC

Unpacked Size

17.6 kB

Total Files

4

Last publish

Collaborators

  • rachidboubekeur-dev