DefinitelyTyped/types/react-scroll-rotate/index.d.ts

21 lines
590 B
TypeScript

// Type definitions for react-scroll-rotate 0.0
// Project: https://github.com/giladk/react-scroll-rotate#readme
// Definitions by: Alex Bukurov <https://github.com/abukurov>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from 'react';
export interface ScrollRotateProps {
target?: string;
throttle?: number;
from?: number;
to?: number;
method?: 'px' | 'prec';
loops?: number;
animationDuration?: number;
children: React.ReactNode;
}
export class ScrollRotate extends React.Component<ScrollRotateProps> {}