Skip to content

Instantly share code, notes, and snippets.

@4knort
Created June 5, 2018 11:03
Show Gist options
  • Save 4knort/73169c8a84d9525709bbc04f2fc60775 to your computer and use it in GitHub Desktop.
Save 4knort/73169c8a84d9525709bbc04f2fc60775 to your computer and use it in GitHub Desktop.
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