Conditional rendering of icon

I have one list of json in my app state. In each json there is one key "process" which can be either true or false. Based on the process value i want to render two icons. If it is true then first icon and if it is false then second icon. How can i achieve this.

2
1 reply