Skip to content

Commit a58f5c4

Browse files
committed
Update docs
1 parent 1995bba commit a58f5c4

19 files changed

+42
-42
lines changed

docs/src/stories/CellRenderers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class Story extends React.PureComponent {
1010
const data = _.map(_.range(5553), d => {
1111
const statusChance = Math.random()
1212
return {
13-
firstName: namor.generate({ words: 1, numLen: 0 }),
14-
lastName: namor.generate({ words: 1, numLen: 0 }),
13+
firstName: namor.generate({ words: 1, numbers: 0 }),
14+
lastName: namor.generate({ words: 1, numbers: 0 }),
1515
progress: Math.floor(Math.random() * 100),
1616
status: statusChance > 0.66 ? 'relationship'
1717
: statusChance > 0.33 ? 'complicated'

docs/src/stories/ControlledTable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import ReactTable from '../../../lib/index'
77

88
const data = _.map(_.range(5553), d => {
99
return {
10-
firstName: namor.generate({ words: 1, numLen: 0 }),
11-
lastName: namor.generate({ words: 1, numLen: 0 }),
10+
firstName: namor.generate({ words: 1, numbers: 0 }),
11+
lastName: namor.generate({ words: 1, numbers: 0 }),
1212
age: Math.floor(Math.random() * 30)
1313
}
1414
})

docs/src/stories/CustomComponentProps.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Story extends React.PureComponent {
99
render () {
1010
const data = _.map(_.range(5553), d => {
1111
return {
12-
firstName: namor.generate({ words: 1, numLen: 0 }),
13-
lastName: namor.generate({ words: 1, numLen: 0 }),
12+
firstName: namor.generate({ words: 1, numbers: 0 }),
13+
lastName: namor.generate({ words: 1, numbers: 0 }),
1414
age: Math.floor(Math.random() * 30)
1515
}
1616
})

docs/src/stories/CustomExpanderPosition.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Story extends React.PureComponent {
99
render () {
1010
const data = _.map(_.range(5553), d => {
1111
return {
12-
firstName: namor.generate({words: 1, numLen: 0}),
13-
lastName: namor.generate({words: 1, numLen: 0}),
12+
firstName: namor.generate({words: 1, numbers: 0}),
13+
lastName: namor.generate({words: 1, numbers: 0}),
1414
age: Math.floor(Math.random() * 30)
1515
}
1616
})

docs/src/stories/CustomSorting.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Story extends React.PureComponent {
99
render () {
1010
const data = _.map(_.range(5553), d => {
1111
return {
12-
firstName: namor.generate({ words: 1, numLen: 0 }),
13-
lastName: namor.generate({ words: 1, numLen: 0 }),
12+
firstName: namor.generate({ words: 1, numbers: 0 }),
13+
lastName: namor.generate({ words: 1, numbers: 0 }),
1414
age: Math.floor(Math.random() * 30)
1515
}
1616
})

docs/src/stories/CustomWidths.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Story extends React.PureComponent {
99
render () {
1010
const data = _.map(_.range(5553), d => {
1111
return {
12-
firstName: namor.generate({ words: 1, numLen: 0 }),
13-
lastName: namor.generate({ words: 1, numLen: 0 }),
12+
firstName: namor.generate({ words: 1, numbers: 0 }),
13+
lastName: namor.generate({ words: 1, numbers: 0 }),
1414
age: Math.floor(Math.random() * 30)
1515
}
1616
})

docs/src/stories/DefaultSorting.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Story extends React.PureComponent {
99
render () {
1010
const data = _.map(_.range(5553), d => {
1111
return {
12-
firstName: namor.generate({ words: 1, numLen: 0 }),
13-
lastName: namor.generate({ words: 1, numLen: 0 }),
12+
firstName: namor.generate({ words: 1, numbers: 0 }),
13+
lastName: namor.generate({ words: 1, numbers: 0 }),
1414
age: Math.floor(Math.random() * 30)
1515
}
1616
})

docs/src/stories/Filtering.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class Story extends React.PureComponent {
1313

1414
const data = _.map(_.range(5553), d => {
1515
return {
16-
firstName: namor.generate({words: 1, numLen: 0}),
17-
lastName: namor.generate({words: 1, numLen: 0}),
16+
firstName: namor.generate({words: 1, numbers: 0}),
17+
lastName: namor.generate({words: 1, numbers: 0}),
1818
age: Math.floor(Math.random() * 30)
1919
}
2020
})

docs/src/stories/FixedHeader.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ class Story extends React.PureComponent {
99
render() {
1010
const data = _.map(_.range(5553), d => {
1111
return {
12-
firstName: namor.generate({ words: 1, numLen: 0 }),
13-
lastName: namor.generate({ words: 1, numLen: 0 }),
12+
firstName: namor.generate({ words: 1, numbers: 0 }),
13+
lastName: namor.generate({ words: 1, numbers: 0 }),
1414
age: Math.floor(Math.random() * 30),
1515
children: _.map(_.range(10), d => {
1616
return {
17-
firstName: namor.generate({ words: 1, numLen: 0 }),
18-
lastName: namor.generate({ words: 1, numLen: 0 }),
17+
firstName: namor.generate({ words: 1, numbers: 0 }),
18+
lastName: namor.generate({ words: 1, numbers: 0 }),
1919
age: Math.floor(Math.random() * 30)
2020
}
2121
})

docs/src/stories/Footers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class Story extends React.PureComponent {
99
render () {
1010
const data = _.map(_.range(5553), d => {
1111
return {
12-
firstName: namor.generate({ words: 1, numLen: 0 }),
13-
lastName: namor.generate({ words: 1, numLen: 0 }),
12+
firstName: namor.generate({ words: 1, numbers: 0 }),
13+
lastName: namor.generate({ words: 1, numbers: 0 }),
1414
age: Math.floor(Math.random() * 30)
1515
}
1616
})

0 commit comments

Comments
 (0)