"use client" import * as React from "react" import { Button } from "@/components/ui/button" import { RefreshCw } from "lucide-react" interface Props { onRefresh?: () => void } export function EDPProgressTableToolbarActions({ onRefresh }: Props) { const handleRefresh = React.useCallback(() => { if (onRefresh) return onRefresh() if (typeof window !== "undefined") window.location.reload() }, [onRefresh]) return (
) }