@kohlmannj/react-scroll-percentage
Version:
Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API.
8 lines • 396 B
TypeScript
import { AllHTMLAttributes, DetailedHTMLProps, SFC } from 'react';
/**
* ScrollWrapper directs the user to scroll the page to reveal it's children.
* Use this on Modules that have scroll and/or observer triggers.
*/
declare const ScrollWrapper: SFC<DetailedHTMLProps<AllHTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
export default ScrollWrapper;
//# sourceMappingURL=ScrollWrapper.d.ts.map