mirror of
https://github.com/gosticks/react-table.git
synced 2026-10-06 15:57:04 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48e6d16d58 | ||
|
|
e4208e3b0f | ||
|
|
e6d03673ff | ||
|
|
c3fc84db01 |
Vendored
+12
-7
File diff suppressed because one or more lines are too long
@@ -21,7 +21,8 @@ export default Component({
|
|||||||
accessor: 'firstName'
|
accessor: 'firstName'
|
||||||
}, {
|
}, {
|
||||||
header: 'Last Name',
|
header: 'Last Name',
|
||||||
accessor: 'lastName'
|
id: 'lastName',
|
||||||
|
accessor: d => d.lastName
|
||||||
}]
|
}]
|
||||||
}, {
|
}, {
|
||||||
header: 'Info',
|
header: 'Info',
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-table",
|
"name": "react-table",
|
||||||
"version": "2.2.5",
|
"version": "2.2.7",
|
||||||
"description": "A fast, lightweight, opinionated table and datagrid built on React",
|
"description": "A fast, lightweight, opinionated table and datagrid built on React",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"homepage": "https://github.com/tannerlinsley/react-table#readme",
|
"homepage": "https://github.com/tannerlinsley/react-table#readme",
|
||||||
|
|||||||
+4
-1
@@ -131,7 +131,10 @@ export default React.createClass({
|
|||||||
throw new Error('A column id is required if using a non-string accessor for column above.')
|
throw new Error('A column id is required if using a non-string accessor for column above.')
|
||||||
}
|
}
|
||||||
|
|
||||||
dcol.accessor = d => undefined
|
if (!dcol.accessor) {
|
||||||
|
dcol.accessor = d => undefined
|
||||||
|
}
|
||||||
|
|
||||||
return dcol
|
return dcol
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user