condition in style react check if odd code example Example: if odd js function isEven(value) { return !(value % 2) }