Skip to content

Commit

Permalink
[type]: export ReactFlickityComponentProps (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadi-akbar committed Mar 20, 2023
1 parent 4a6d835 commit a7c317b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";

interface Props {
export interface ReactFlickityComponentProps {
className?: string;
disableImagesLoaded?: boolean;
elementType?: string;
Expand All @@ -11,7 +11,7 @@ interface Props {
children?: React.ReactNode;
}

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

0 comments on commit a7c317b

Please sign in to comment.