File size: 345 Bytes
246d201 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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>
);
}
|