Created
June 5, 2018 11:03
-
-
Save 4knort/73169c8a84d9525709bbc04f2fc60775 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renderCell(advantage, index) { | |
if (advantage) { | |
return ( | |
<td className={`tariffs-table__td tariffs-table__tariff-${index + 1}`} key={index}> | |
{advantage ? advantage === true ? <img className="tariffs-table__img" src={plusImage} alt="" /> : advantage : null} | |
</td> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment