0.1.7 • Published 1 year ago

@fablaney/table-for-react v0.1.7

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

This is an Table React Plugin

He Require props :

columns : the columns

const columns = [
    { title: 'FirstName', label: 'First Name' },
    .....
]
The search and sort in colums is based on the title

Title must be the same ad the data key "columns.FirstName === datas.FirstName"

And the label is the text on the column header

rows : your datas for exemple

const datas = [
{
    FirstName: 'Julie',
    LastName: 'Perarnau',
    BirthDate: '07/08/1989',
    StartDate: '01/09/1992',
    Street: '7 Route de Dammartin',
    City: 'Eugene',
    State: 'OR',
    Zipcode: 80123,
    Department: 'Marketing'
},
.....
]

lines ( optionnal ) :

the number of lines per pages, by default lines is 10, 25, 50, 100, and you can send a table with 10,20, 30,40

0.1.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.7

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.6

1 year ago

0.1.5

1 year ago

8.0.1

1 year ago

8.0.0

1 year ago

7.0.0

1 year ago

6.0.0

1 year ago

5.0.0

1 year ago

4.0.0

1 year ago

3.0.0

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago