| 1 | "use client"; |
| 2 | |
| 3 | import { useRouter } from |
| 4 | import { BiArrowBack } |
| 5 | |
| 6 | export default function BackButton |
| 7 | const { back |
| 8 | return ( |
| 9 | <button |
| 10 | onClick={back} |
| 11 | className="flex flex-row items-center justify-start gap-2.5 |
| 12 | text-white transition duration-300 ease-in-out |
| 13 | bg-neutral-700 hover:bg-neutral-900 rounded-md px-3 py-2.5" |
| 14 | title="Back" |
| 15 | aria-label="Back" |
| 16 | aria-roledescription="button" |
| 17 | > |
| 18 | <BiArrowBack /> |
| 19 | </button> |
| 20 | ); |
| 21 | } |