zzz / frontend /src /components /shared /buttons /refresh-icon-button.tsx
ar08's picture
Upload 1040 files
246d201 verified
raw
history blame contribute delete
519 Bytes
import { IoIosRefresh } from "react-icons/io";
import { IconButton } from "./icon-button";
interface RefreshIconButtonProps {
onClick: () => void;
}
export function RefreshIconButton({ onClick }: RefreshIconButtonProps) {
return (
<IconButton
icon={
<IoIosRefresh
size={16}
className="text-neutral-400 hover:text-neutral-100 transition"
/>
}
testId="refresh"
ariaLabel="Refresh workspace"
onClick={onClick}
/>
);
}