"use client" import * as React from "react" import { Download, RefreshCw } from "lucide-react" import { toast } from "sonner" import { exportTableToExcel } from "@/lib/export" import { Button } from "@/components/ui/button" import { type Table } from "@tanstack/react-table" import { CreateRfqDialog } from "./create-rfq-dialog" interface RFQTableToolbarActionsProps { selection: Table; onRefresh?: () => void; } export function RFQTableToolbarActions({ selection, onRefresh }: RFQTableToolbarActionsProps) { // 데이터 새로고침 const handleRefresh = () => { if (onRefresh) { onRefresh(); toast.success("데이터를 새로고침했습니다"); } } return (
{/* RFQ 생성 다이얼로그 */} {/* 새로고침 버튼 */} {/* 내보내기 버튼 */}
) }