import { LoaderCircle, RefreshCcw } from 'lucide-react'
import { ButtonTooltip } from '../ButtonTooltip'
interface RefreshButtonProps {
isLoading: boolean
onRefresh: () => void
}
export const RefreshButton = ({ isLoading, onRefresh }: RefreshButtonProps) => {
return (
) : (
)
}
tooltip={{ content: { side: 'bottom', text: 'Refresh logs' } }}
/>
)
}