Ver código fonte

commented out TouchablePreview - breaking tests

yogevbd 6 anos atrás
pai
commit
fc0ef1b974
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3
    3
      lib/src/Navigation.ts

+ 3
- 3
lib/src/Navigation.ts Ver arquivo

@@ -15,11 +15,11 @@ import { ComponentType } from 'react';
15 15
 import { ComponentEventsObserver } from './events/ComponentEventsObserver';
16 16
 import { LayoutRoot, Layout } from './interfaces/Layout';
17 17
 import { Options } from './interfaces/Options';
18
-import { TouchablePreview, Props as TouchablePreviewProps } from './adapters/TouchablePreview';
18
+// import { TouchablePreview, Props as TouchablePreviewProps } from './adapters/TouchablePreview';
19 19
 
20 20
 export class Navigation {
21 21
   public readonly Element: React.ComponentType<{ elementId: any; resizeMode?: any; }>;
22
-  public readonly TouchablePreview: React.ComponentType<TouchablePreviewProps>;
22
+  // public readonly TouchablePreview: React.ComponentType<TouchablePreviewProps>;
23 23
   public readonly store: Store;
24 24
   private readonly nativeEventsReceiver: NativeEventsReceiver;
25 25
   private readonly uniqueIdProvider: UniqueIdProvider;
@@ -34,7 +34,7 @@ export class Navigation {
34 34
 
35 35
   constructor() {
36 36
     this.Element = Element;
37
-    this.TouchablePreview = TouchablePreview;
37
+    // this.TouchablePreview = TouchablePreview;
38 38
     this.store = new Store();
39 39
     this.nativeEventsReceiver = new NativeEventsReceiver();
40 40
     this.uniqueIdProvider = new UniqueIdProvider();