Skip to content

Commit

Permalink
feat: add macos support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Guo committed Jul 15, 2020
1 parent 5012bf9 commit 02911c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/stack/src/views/GestureHandler.macos.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export {
PanGestureHandler,
GestureHandlerRootView,
GestureState,
} from './CompatGestureHandler';
export type { PanGestureHandlerGestureEvent } from 'react-native-gesture-handler';
3 changes: 3 additions & 0 deletions packages/stack/src/views/MaskedView.macos.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import StubbedMaskedView from './MaskedView';

export default StubbedMaskedView;
3 changes: 3 additions & 0 deletions packages/stack/src/views/TouchableItem.macos.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { TouchableOpacity } from 'react-native';

export const TouchableItem = (TouchableOpacity as any) as typeof import('./TouchableItem.native').TouchableItem;

0 comments on commit 02911c1

Please sign in to comment.