mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
590 B
TypeScript
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> {}
|