Skip to content
Snippets Groups Projects
Commit b2c35861 authored by Jose Manuel Serrano Amaut's avatar Jose Manuel Serrano Amaut
Browse files

[FEAT]: Add new page for download file example

parent b6900ab0
No related branches found
No related tags found
No related merge requests found
......@@ -140,6 +140,12 @@ export default function MainMenuSideBar(props: MainMenuSideBarProps) {
index: 72,
onClick: () => navigate("/utilities-methods/file-uploader"),
},
{
label: "File download",
index: 73,
onClick: () => navigate("/utilities-methods/file-downloader"),
},
],
},
];
......
import * as React from "react";
const FileDownloadPage = props =>{
return(
<div>
FileDownloadPage
</div>
)
}
export default FileDownloadPage;
\ No newline at end of file
......@@ -20,6 +20,7 @@ import AvatarDemoPage from "../pages/demo/AvatarDemoPage";
import FileInputButtonApi from "../pages/api/FileInputButtonApi";
import AvatarApi from "../pages/api/AvatarApi";
import FileInputButtonDemoPage from "../pages/demo/FileInputButtonDemoPage";
import FileDownloadPage from "../pages/download-page/FileDownloadPage";
const router = createBrowserRouter([
{
......@@ -128,6 +129,10 @@ const router = createBrowserRouter([
path: "/utilities-methods/file-uploader",
element: <FileUploaderPage />,
},
{
path: "/utilities-methods/file-downloader",
element: <FileDownloadPage />,
},
],
},
]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment