Init(Coore): add to repo
This commit is contained in:
14
components/DiscountedPrices.js
Executable file
14
components/DiscountedPrices.js
Executable file
@@ -0,0 +1,14 @@
|
||||
export default function DiscountedPrices({price, discounted}){
|
||||
return (
|
||||
<div className="flex flex-col items-center">
|
||||
<div className="flex items-center text-gray-500 line-through">
|
||||
<span className="text-xl pl-2">{discounted}</span>
|
||||
<span className="text-xl">تومان</span>
|
||||
</div>
|
||||
<div className="flex items-center">
|
||||
<span className="text-2xl font-bold pl-2">{price}</span>
|
||||
<span className="text-xl">تومان</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user