DefinitelyTyped/types/react-animate-on-scroll/index.d.ts
Ricardo Albuquerque Pinto 4f374d225e React animate on scroll (#25131)
* Added type definitions for react-animate-on-scroll

* Corrected itens pointed by tslint
2018-04-19 11:15:21 -07: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.6
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);
}