funda-ui
Version:
React components using pure Bootstrap 5+ which does not contain any external style and script libraries.
18 lines (17 loc) • 504 B
TypeScript
import React from 'react';
export declare enum EasingList {
linear = "linear",
easeIn = "ease-in",
easeOut = "ease-out",
easeInOut = "ease-in-out"
}
export declare type BackToTopProps = {
/** Speed of scrolling up. Amount of time measured in milliseconds. */
speed?: number;
/** Types of easing animation */
easing: string;
/** Button Icon */
btnIcon?: React.ReactNode;
};
declare const BackToTop: (props: BackToTopProps) => JSX.Element;
export default BackToTop;