Remove inline array styles and replace them using StyleSheet create. Check if memoization or other optimizations should be added.