Entrega do Desafio #1

Merged
anacarolinaduartecavalcante merged 93 commits from feature/challenge-vtex-io into develop 2023-02-03 17:14:03 +00:00
Showing only changes of commit 626cb4fa42 - Show all commits

View File

@ -13,12 +13,12 @@ const InstallmentProduct = () => {
}; };
return ( return (
<p className={styles.PriceContent}> <p className={styles.PriceContent}>
<strong>{productWithInstallments.numberOfInstallments}x&nbsp;</strong> <span style={{fontWeight: "700"}}>{productWithInstallments.numberOfInstallments}x&nbsp;</span>
de&nbsp; de&nbsp;
<strong> <span style={{fontWeight: "700"}}>
R$&nbsp; R$&nbsp;
{productWithInstallments.value?.toFixed(2).toString().replace(".", ",")} {productWithInstallments.value?.toFixed(2).toString().replace(".", ",")}
</strong>{" "} </span>{" "}
sem juros sem juros
</p> </p>
); );