forked from M3-Academy/challenge-vtex-io
Entrega do Desafio #1
@ -13,12 +13,12 @@ const InstallmentProduct = () => {
|
|||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<p className={styles.PriceContent}>
|
<p className={styles.PriceContent}>
|
||||||
<strong>{productWithInstallments.numberOfInstallments}x </strong>
|
<span style={{fontWeight: "700"}}>{productWithInstallments.numberOfInstallments}x </span>
|
||||||
de
|
de
|
||||||
<strong>
|
<span style={{fontWeight: "700"}}>
|
||||||
R$
|
R$
|
||||||
{productWithInstallments.value?.toFixed(2).toString().replace(".", ",")}
|
{productWithInstallments.value?.toFixed(2).toString().replace(".", ",")}
|
||||||
</strong>{" "}
|
</span>{" "}
|
||||||
sem juros
|
sem juros
|
||||||
</p>
|
</p>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user