"use client"

import { ArrowLeftIcon } from "lucide-react"

import { Button } from "@/components/ui/button"

export function NotFoundBackButton({ label }: { label: string }) {
  return (
    <Button
      type="button"
      variant="outline"
      size="lg"
      onClick={() => history.back()}
    >
      <ArrowLeftIcon className="size-4" />
      {label}
    </Button>
  )
}
