Spaces:
Configuration error

README / frontend /src /components /shared /buttons /refresh-button.tsx
gauravanu001's picture
upload
2d63f96 verified
Raw History Blame Contribute Delete
332 Bytes
import Refresh from "#/icons/refresh.svg?react";
interface RefreshButtonProps {
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
}
export function RefreshButton({ onClick }: RefreshButtonProps) {
return (
<button type="button" onClick={onClick}>
<Refresh width={14} height={14} />
</button>
);
}