zzz / frontend /src /components /shared /buttons /scroll-to-bottom-button.tsx
ar08's picture
Upload 1040 files
246d201 verified
raw
history blame contribute delete
464 Bytes
import ArrowSendIcon from "#/icons/arrow-send.svg?react";
interface ScrollToBottomButtonProps {
onClick: () => void;
}
export function ScrollToBottomButton({ onClick }: ScrollToBottomButtonProps) {
return (
<button
type="button"
onClick={onClick}
data-testid="scroll-to-bottom"
className="button-base p-1 hover:bg-neutral-500 rotate-180"
>
<ArrowSendIcon width={15} height={15} />
</button>
);
}