We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1757b4d commit ddee18cCopy full SHA for ddee18c
README.md
@@ -518,7 +518,7 @@ You can use these callbacks for dynamic styling as well!
518
getTrProps={(state, rowInfo, column) => {
519
return {
520
style: {
521
- background: rowInfo.age > 20 ? 'green' : 'red'
+ background: rowInfo.row.age > 20 ? 'green' : 'red'
522
}
523
524
}}
@@ -543,7 +543,7 @@ const columns = [{
543
getProps: (state, rowInfo, column) => {
544
545
546
- background: rowInfo.name === 'Santa Clause' ? 'red' : null
+ background: rowInfo.row.name === 'Santa Clause' ? 'red' : null
547
548
549
0 commit comments