react-flyup-button
Version:
React component to scroll to the top of the page
21 lines (20 loc) • 797 B
TypeScript
interface buttonProps {
className?: string;
position?: "left" | "right" | "center";
bottom?: number;
left?: number;
width?: number;
height?: number;
borderRadius?: number;
backgroundColor?: string;
borderColor?: string;
borderWidth?: number;
cursor?: string;
displayAt?: number;
animationDuration?: number;
smoothScroll?: boolean;
children?: React.ReactNode;
}
declare function ScrollToTopButton({ className, position, bottom, left, width, height, borderRadius, backgroundColor, borderColor, borderWidth, cursor, displayAt, animationDuration, smoothScroll, children, }: buttonProps): import("react/jsx-runtime").JSX.Element;
declare const _default: import('react').MemoExoticComponent<typeof ScrollToTopButton>;
export default _default;