Skip to content

Commit c450496

Browse files
authored
Export SwipeableProps (#1598)
1 parent fad3a3b commit c450496

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Swipeable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ type SwipeableExcludes = Exclude<
3636
'onGestureEvent' | 'onHandlerStateChange'
3737
>;
3838

39-
interface SwipeableProps
39+
export interface SwipeableProps
4040
extends Pick<PanGestureHandlerProps, SwipeableExcludes> {
4141
/**
4242
* Enables two-finger gestures on supported devices, for example iPads with

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ export type {
116116
} from './handlers/gestureHandlerTypesCompat';
117117

118118
export { default as Swipeable } from './components/Swipeable';
119+
export type { SwipeableProps } from './components/Swipeable';
119120
export type {
120121
DrawerLayoutProps,
121122
DrawerPosition,

0 commit comments

Comments
 (0)