How can i dynamically color a row if the value is greater than 100 and less than 1000.
here is my code
<div> <DetailsList items={this.state.IstateItems}
columns={[
{key:"FirstName",name:"First Name",fieldName:"FirstName",minWidth:150},
{key:"lastname",name:"Last Name",fieldName:"lastname",minWidth:150},
{key:"Bdate",name:"Birth Date",fieldName:"Bdate",minWidth:100},
{key:"Sal",name:"Salary",fieldName:"Sal",minWidth:100},
{key:"Manager",name:"Boss",fieldName:"Manager",minWidth:200},
]} onRenderRow={(props,defaultrender)=>(
<div className={styles.red}>
{defaultrender({...props,className:'red'})}
</div>
i wanted to color the row red if the salary is greater than 100 let's say