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