Adds row styling to allow alternating row colors. New props on Table or TableBody are zebra, evenRowColor, and oddRowColor.
To default alternating colors, simply add the zebra prop to Table or TableBody, or add evenRowColor with the desired color value (lightgray, #cccccc, red, etc.)
Adds row styling to allow alternating row colors. New props on
Table
orTableBody
arezebra
,evenRowColor
, andoddRowColor
.To default alternating colors, simply add the
zebra
prop toTable
orTableBody
, or addevenRowColor
with the desired color value (lightgray
,#cccccc
,red
, etc.)