Skip to content

Commit 6aae2ec

Browse files
committed
added proper declare
1 parent 6b456ac commit 6aae2ec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

index.d.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
export default interface ParallaxScrollView {
1+
import * as React from 'react';
2+
3+
declare class ParallaxScrollView extends React.Component<ParallaxScrollViewProps, {}> {
4+
5+
}
6+
7+
export interface ParallaxScrollViewProps {
28
backgroundScrollSpeed?: number;
39
backgroundColor?: string;
410
contentBackgroundColor?: string;

0 commit comments

Comments
 (0)