mirror of
https://github.com/DevEhChad/chadsreactproject.git
synced 2025-11-09 14:01:35 +00:00
Add files via upload
Third Commit
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
function ShopItem({ image, name, price }) {
|
||||
return (
|
||||
<div className="shopItem">
|
||||
<div style={{ backgroundImage: `url(${image})` }}> </div>
|
||||
<h1> {name} </h1>
|
||||
<p> ${price} </p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
import React from "react";
|
||||
|
||||
function ShopItem({ image, name, price }) {
|
||||
return (
|
||||
<div className="shopItem">
|
||||
<div style={{ backgroundImage: `url(${image})` }}> </div>
|
||||
<h1> {name} </h1>
|
||||
<p> ${price} </p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default ShopItem;
|
||||
Reference in New Issue
Block a user