How can i find the largest and smallest numbers in an object array and change the css of that object when its rendered (React)

后端 未结 0 1956
囚心锁ツ
囚心锁ツ 2021-01-05 22:12

here is a mock of what my data looks like and 3 of the same component

const players = [
    { Fplprice: 7},
    { Fplprice: 4},
    { Fplprice: 10}
];

var la         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题