Open AyoCodess opened 1 month ago
Th solution is add the style tag which i do not want to do. Version: "nativewind": "^4.0.36",
<Text style={{ color: moment.momentLabel === 'red' ? '#f87171' : '#60a5fa' }} className={cn('w-60 truncate font-ggRegular', { // 'text-red-400': moment.momentLabel === 'red', // 'text-blue-400': moment.momentLabel === 'blue' })} numberOfLines={1}> {moment.topics} </Text>
update?
Th solution is add the style tag which i do not want to do. Version: "nativewind": "^4.0.36",