import { RefObject } from "react"; import { ButtonProps } from "@components/Button/Button.interface"; import { ClassName } from "@helpers/types"; import { IconButtonProps } from "@components/IconButton/IconButton.interface"; export interface BackToTopButtonProps extends ClassName, Omit { labelPosition?: TBackToTopButtonLabelPosition; label?: string; iconButtonProps?: Pick; scrollYPositionToDisplayButton?: number; scrollBehavior?: ScrollBehavior; scrollContainerRef?: RefObject; buttonBottomPxPosition?: number; buttonRightPxPosition?: number; } export type TBackToTopButtonLabelPosition = "inside" | "outside";