ds-react-table
Advanced tools
+1
-1
| { | ||
| "name": "ds-react-table", | ||
| "version": "1.0.1", | ||
| "version": "1.0.2", | ||
| "description": "Dead simple react table", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
+34
-20
@@ -29,20 +29,18 @@ Dead simple react table | ||
| { | ||
| language: 'JavaScript', | ||
| level: '5', | ||
| qualification: 'Software Engineering', | ||
| school: 'UJ', | ||
| period: '04/2016 – 08/2018', | ||
| location: 'JOHANNESBURG, SOUTH AFRICA', | ||
| }, | ||
| { | ||
| language: 'NodeJS', | ||
| level: '3', | ||
| qualification: 'PC Technician', | ||
| school: 'Boston City Campus & business College', | ||
| period: '01/2011 – 11/2011', | ||
| location: 'RANDBURG, SOUTH AFRICA', | ||
| }, | ||
| { | ||
| language: 'React', | ||
| level: '5', | ||
| }, | ||
| { | ||
| language: 'React Native', | ||
| level: '5', | ||
| }, | ||
| { | ||
| language: 'Vue', | ||
| level: '3', | ||
| qualification: 'UX Designer', | ||
| school: 'UCT', | ||
| period: '01/2008 – 12/2010', | ||
| location: 'CAPE TOWN, SOUTH AFRICA', | ||
| } | ||
@@ -109,11 +107,27 @@ ]; | ||
| display: inline-block; | ||
| background-color: #94ABBE; | ||
| border: 1px solid #3B3B3B; | ||
| background-color: white; | ||
| border: 1px solid #d8cdc9; | ||
| margin-top: 10px; | ||
| } | ||
| a:not(:nth-child(2)) { | ||
| background-color: #3B3B3B; | ||
| color: #94ABBE; | ||
| .pagination a { | ||
| color: black; | ||
| float: left; | ||
| padding: 8px 16px; | ||
| text-decoration: none; | ||
| } | ||
| .pagination a:not(:nth-child(2)) { | ||
| background-color: #d8cdc9; | ||
| color: white; | ||
| } | ||
| .pagination a:nth-child(2) { | ||
| display: inline-block; | ||
| width: 100px; | ||
| text-align: center; | ||
| } | ||
| .pagination a:nth-child(n+3):nth-last-child(n+2) { | ||
| cursor: default; | ||
| } | ||
| ``` | ||
@@ -134,3 +148,3 @@ | ||
| <Table | ||
| dataLimit={15} | ||
| dataLimit={2} | ||
| sort={false} | ||
@@ -137,0 +151,0 @@ showPagination={true} |
13856
3.58%205
7.33%