We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a6d835 commit a7c317bCopy full SHA for a7c317b
1 file changed
src/index.d.ts
@@ -1,6 +1,6 @@
1
import React from "react";
2
3
-interface Props {
+export interface ReactFlickityComponentProps {
4
className?: string;
5
disableImagesLoaded?: boolean;
6
elementType?: string;
@@ -11,7 +11,7 @@ interface Props {
11
children?: React.ReactNode;
12
}
13
14
-declare class Flickity extends React.Component<Props, any> {
+declare class Flickity extends React.Component<ReactFlickityComponentProps, any> {
15
public on(eventName: FlickityEventName, listener: Function): void;
16
public off(eventName: FlickityEventName, listener: Function): void;
17
public select(index: number, isWrapped?: boolean, isInstant?: boolean): void;
0 commit comments