score:0

Accepted answer
style={domain[each.domainName]? { color: each.colorCode, backgroundColor: "white" } : null}

Related Query

More Query from same tag