Skip to content

Commit a7c317b

Browse files
authored
[type]: export ReactFlickityComponentProps (#143)
1 parent 4a6d835 commit a7c317b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22

3-
interface Props {
3+
export interface ReactFlickityComponentProps {
44
className?: string;
55
disableImagesLoaded?: boolean;
66
elementType?: string;
@@ -11,7 +11,7 @@ interface Props {
1111
children?: React.ReactNode;
1212
}
1313

14-
declare class Flickity extends React.Component<Props, any> {
14+
declare class Flickity extends React.Component<ReactFlickityComponentProps, any> {
1515
public on(eventName: FlickityEventName, listener: Function): void;
1616
public off(eventName: FlickityEventName, listener: Function): void;
1717
public select(index: number, isWrapped?: boolean, isInstant?: boolean): void;

0 commit comments

Comments
 (0)