let numberOfPeople =
0 <= length && length < 3
? (numberOfPeople = 'gray')
: 3 <= length && length <= 6
? (numberOfPeople = 'blue')
: 7 <= length && length <= 10
? (numberOfPeople = 'green')
: 11 <= length
? (numberOfPeople = 'red')
: '';
};
const colorize = ({ months: {data: {length}}}) => {
Обсуждают сегодня