mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2025-05-14 10:31:07 +08:00
Akong gisidebar ky ang array di gasave diko kabalo
This commit is contained in:
parent
1edc69ab95
commit
151231ae1a
3 changed files with 18 additions and 4 deletions
|
@ -11,6 +11,12 @@ const ProductsLists = [
|
|||
stocks: 5,
|
||||
lastModified: '2022-02-23'
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: 'Product 3',
|
||||
stocks: 15,
|
||||
lastModified: '2022-02-25'
|
||||
},
|
||||
// add more products here
|
||||
];
|
||||
|
||||
|
|
|
@ -45,6 +45,14 @@ export default function Sidebar() {
|
|||
>
|
||||
<ProductsIcon size={4} color="white" />
|
||||
</SidebarButton>
|
||||
|
||||
<SidebarButton
|
||||
onClick={() => navigate("/Products/AddProduct")}
|
||||
name="Add Product"
|
||||
>
|
||||
<ProductsIcon size={4} color="white" />
|
||||
</SidebarButton>
|
||||
|
||||
<SidebarButton
|
||||
onClick={() => navigate("/Inventory")}
|
||||
name="Inventory"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue