I am styling my react native component according to some conditions, here the code, The question is how do I make this cleaner? functional style? const configColors = (isSingle, isDarkMode) => { let colors = {}; if (isDarkMode){ colors = { ...colors, configAxisLabelColor : Co...