+ )
+}
diff --git a/src/Sort.jsx b/src/Sort.jsx
new file mode 100644
index 0000000..9e35ff9
--- /dev/null
+++ b/src/Sort.jsx
@@ -0,0 +1,21 @@
+/* eslint-disable react/prop-types */
+
+
+export default function Sort({sortCheck}) {
+
+
+
+ function handleChange(e){
+ sortCheck(e.currentTarget.value)
+ }
+
+
+ return (
+
+
+ )
+}
diff --git a/src/store-items.js b/src/store-items.js
index 96dd2ea..4a36591 100644
--- a/src/store-items.js
+++ b/src/store-items.js
@@ -3,56 +3,56 @@ const storeItems = [
{
id: "001-beetroot",
name: "beetroot",
- price: 0.35,
+ price: 0.55,
description: "The beetroot is the taproot portion of a beet plant, usually known in North America as beets while the vegetable is referred to as beetroot in British English, and also known as the table beet, garden beet, red beet, dinner beet or golden beet.",
type: "vegetable"
},
{
id: "002-carrot",
name: "carrot",
- price: 0.35,
+ price: 0.15,
description: "The carrot is a root vegetable, typically orange in color, though heirloom variants including purple, black, red, white, and yellow cultivars exist, all of which are domesticated forms of the wild carrot, Daucus carota, native to Europe and Southwestern Asia.",
type: "vegetable"
},
{
id: "003-apple",
name: "apple",
- price: 0.35,
+ price: 0.15,
description: "An apple is a round, edible fruit produced by an apple tree (Malus spp., among them the domestic or orchard apple; Malus domestica).",
type: "fruit"
},
{
id: "004-apricot",
name: "apricot",
- price: 0.35,
+ price: 2.35,
description: "An apricot is a fruit, or the tree that bears the fruit, of several species in the genus Prunus.",
type: "fruit"
},
{
id: "005-avocado",
name: "avocado",
- price: 0.35,
+ price: 6.35,
description: "The avocado, alligator pear or avocado pear (Persea americana) is a medium-sized, evergreen tree in the laurel family (Lauraceae).",
type: "fruit"
},
{
id: "006-bananas",
name: "bananas",
- price: 0.35,
+ price: 0.90,
description: "A banana is an elongated, edible fruit – botanically a berry – produced by several kinds of large herbaceous flowering plants in the genus Musa.",
type: "fruit"
},
{
id: "007-bell-pepper",
name: "bell pepper",
- price: 0.35,
+ price: 0.65,
description: "The bell pepper (also known as sweet pepper, pepper, capsicum /ˈkæpsɪkəm/ or in some places, mangoes) is the fruit of plants in the Grossum Group of the species Capsicum annuum.",
type: "fruit"
},
{
id: "008-berry",
name: "berry",
- price: 0.35,
+ price: 0.30,
description: "A berry is a small, pulpy, and often edible fruit. Typically, berries are juicy, rounded, brightly colored, sweet, sour or tart, and do not have a stone or pit, although many pips or seeds may be present.",
type: "fruit"
},