@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
16 lines • 804 B
TypeScript
/// <reference types="react" />
interface BackToTopProps extends React.DetailedHTMLProps<React.HTMLProps<HTMLDivElement>, HTMLDivElement> {
/** Additional classes added to the back to top. */
className?: string;
/** Title to appear in back to top button. */
title?: string;
/** @hide Forwarded ref */
innerRef?: React.Ref<any>;
/** Selector for the scrollable element to spy on. Not passing a selector defaults to spying on window scroll events. */
scrollableSelector?: string;
/** Flag to always show back to top button, defaults to false. */
isAlwaysVisible?: boolean;
}
export declare const BackToTop: import("react").ForwardRefExoticComponent<Omit<BackToTopProps, "ref"> & import("react").RefAttributes<any>>;
export {};
//# sourceMappingURL=BackToTop.d.ts.map