"use client";

import { Button } from "@/components/ui/button";
import { Printer } from "lucide-react";

export function PrintButton() {
  return (
    <div className="mb-6 flex justify-end print:hidden">
      <Button onClick={() => window.print()} className="bg-blue-600 text-white shadow hover:bg-blue-700">
        <Printer className="mr-2 h-4 w-4" /> Cetak PDF
      </Button>
    </div>
  );
}
