mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Note that this *trivially* updates project urls by adding the NPM url to the end, even when the urls are almost identical or the DT one is outdated. I'll clean up the urls in a later commit. This PR is unfinished! Please do not merge it yet.
25 lines
797 B
TypeScript
25 lines
797 B
TypeScript
// Type definitions for react-animate-on-scroll 2.1
|
|
// Project: https://github.com/dbramwell/react-animate-on-scroll, http://dbramwell.github.io/react-animate-on-scroll
|
|
// Definitions by: Ricardo Albuquerque <https://github.com/ralbuque>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import * as React from 'react';
|
|
|
|
export interface ScrollAnimationProps {
|
|
animateIn?: string;
|
|
animateOut?: string;
|
|
offset?: number;
|
|
duration?: number;
|
|
delay?: number;
|
|
initiallyVisible?: boolean;
|
|
animateOnce?: boolean;
|
|
style?: object;
|
|
scrollableParentSelector?: string;
|
|
className?: string;
|
|
}
|
|
|
|
export default class ScrollAnimation extends React.Component<ScrollAnimationProps> {
|
|
constructor(props: ScrollAnimationProps);
|
|
}
|