DefinitelyTyped/types/react-animate-on-scroll/index.d.ts
Ferdy Budhidharma 6d2fc7181a feat(react-dependents): update to TS 2.8 (part 1 of 2) (#27743)
* feat(react-dependents): update to TS 2.8

* exclude react-dom

* fix version mismatches
2018-08-03 21:01:14 +01:00

25 lines
745 B
TypeScript

// Type definitions for react-animate-on-scroll 2.1
// Project: https://github.com/dbramwell/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);
}