Fix padRows key

This commit is contained in:
Tanner Linsley
2017-01-16 15:52:42 -07:00
parent ba1325336f
commit 517702922e
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import ServerSide from '../stories/ServerSide.js'
import SubComponents from '../stories/SubComponents.js'
import Pivoting from '../stories/Pivoting.js'
import PivotingSubComponents from '../stories/PivotingSubComponents.js'
import MillionRows from '../stories/MillionRows.js'
import OneHundredKRows from '../stories/OneHundredKRows.js'
//
configure(() => {
storiesOf('1. Docs')
@@ -36,5 +36,5 @@ configure(() => {
.add('Sub Components', SubComponents)
.add('Pivoting & Aggregation', Pivoting)
.add('Pivoting & Aggregation w/ Sub Components', PivotingSubComponents)
.add('1 Million Rows w/ Pivoting & Sub Components', MillionRows)
.add('100k Rows w/ Pivoting & Sub Components', OneHundredKRows)
}, module)
+3 -2
View File
@@ -541,9 +541,10 @@ export default React.createClass({
const makePadRow = (row, i) => {
return (
<TrGroupComponent>
<TrGroupComponent
key={i}
>
<TrComponent
key={i}
className={classnames(trClassName, '-padRow')}
style={trStyle}
>
@@ -6,7 +6,7 @@ import CodeHighlight from './components/codeHighlight'
import ReactTable from '../lib/index'
export default () => {
const data = _.map(_.range(1000000), d => {
const data = _.map(_.range(100000), d => {
return {
firstName: namor.generate({ words: 1, numLen: 0 }),
lastName: namor.generate({ words: 1, numLen: 0 }),