finished project

This commit is contained in:
nameishappy
2023-08-03 21:20:53 +05:30
commit 73651d6058
65 changed files with 15611 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import React from "react";
import Button from "./Button";
import { useNavigate } from "react-router-dom";
const BackButton = () => {
const navigate=useNavigate();
return (
<Button
type="back"
onClick={(e) => {
e.preventDefault();
navigate(-1);
}}
>
&larr; Back
</Button>
);
};
export default BackButton;