Skip to content

Commit f2b5d40

Browse files
authored
Merge pull request #59 from kopax/patch-2
Fix: DotComponent typing
2 parents a751cec + 40adcfa commit f2b5d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ interface SwiperControlsProps {
159159
/**
160160
* Custom dot component
161161
*/
162-
DotComponent?: React.ComponentClass;
162+
DotComponent?: React.ComponentType;
163163

164164
/**
165165
* Customize prev button title

0 commit comments

Comments
 (0)