"use client";

import { Printer } from "lucide-react";
import { Button } from "@/components/ui/button";

/**
 * Trigger the browser's own print dialog.
 *
 * Deliberately no PDF library: the report page already carries a print
 * stylesheet, and the browser's "Save as PDF" covers the export use case.
 */
export function PrintReportButton() {
  return (
    <Button variant="secondary" onClick={() => window.print()}>
      <Printer className="size-4" />
      Cetak
    </Button>
  );
}
