File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
packages/react-native-gesture-handler/src Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -147,10 +147,10 @@ export type {
147147} from './handlers/gestureHandlerTypesCompat' ;
148148
149149export type {
150- PressableProps ,
151- PressableStateCallbackType ,
150+ PressableProps as LegacyPressableProps ,
151+ PressableStateCallbackType as LegacyPressableCallbackType ,
152152} from './v3/components/Pressable' ;
153- export { default as Pressable } from './v3/components/Pressable' ;
153+ export { default as LegacyPressable } from './v3/components/Pressable' ;
154154
155155export type { GestureTouchEvent as SingleGestureTouchEvent } from './handlers/gestureHandlerCommon' ;
156156
Original file line number Diff line number Diff line change @@ -20,3 +20,6 @@ export {
2020 FlatList ,
2121 RefreshControl ,
2222} from './GestureComponents' ;
23+
24+ export type { PressableProps , PressableStateCallbackType } from './Pressable' ;
25+ export { default as Pressable } from './Pressable' ;
Original file line number Diff line number Diff line change @@ -71,6 +71,12 @@ export {
7171 RefreshControl ,
7272} from './components' ;
7373
74+ export {
75+ PressableProps ,
76+ PressableStateCallbackType ,
77+ Pressable ,
78+ } from './components' ;
79+
7480export type { ComposedGesture } from './types' ;
7581
7682export { GestureStateManager } from './gestureStateManager' ;
You can’t perform that action at this time.
0 commit comments