Added an id in the example so it doesn't error (#151)

This commit is contained in:
Jolyon Russ
2017-03-29 07:08:54 -06:00
committed by Tanner Linsley
parent 1a9f0e57b4
commit bd8b273dea
+1
View File
@@ -108,6 +108,7 @@ const columns = [{
accessor: 'age',
render: props => <span className='number'>{props.value}</span> // Custom cell components!
}, {
id: 'friendName', // Required because our accessor is not a string
header: 'Friend Name',
accessor: d => d.friend.name // Custom value accessors!
}, {