Set style on rows inside tbody element
Simplify render function by separating styling functions into component methods