|
|
|
|
11
|
import { ComponentProvider } from 'react-native';
|
11
|
import { ComponentProvider } from 'react-native';
|
12
|
import { SharedElement } from './adapters/SharedElement';
|
12
|
import { SharedElement } from './adapters/SharedElement';
|
13
|
import { CommandsObserver } from './events/CommandsObserver';
|
13
|
import { CommandsObserver } from './events/CommandsObserver';
|
14
|
-import { Constants } from './adapters/Constants';
|
|
|
|
|
14
|
+import { Constants, NavigationConstants } from './adapters/Constants';
|
15
|
import { ComponentEventsObserver } from './events/ComponentEventsObserver';
|
15
|
import { ComponentEventsObserver } from './events/ComponentEventsObserver';
|
16
|
import { TouchablePreview } from './adapters/TouchablePreview';
|
16
|
import { TouchablePreview } from './adapters/TouchablePreview';
|
17
|
import { LayoutRoot, Layout } from './interfaces/Layout';
|
17
|
import { LayoutRoot, Layout } from './interfaces/Layout';
|
|
|
|
|
200
|
/**
|
200
|
/**
|
201
|
* Constants coming from native
|
201
|
* Constants coming from native
|
202
|
*/
|
202
|
*/
|
203
|
- public async constants(): Promise<any> {
|
|
|
|
|
203
|
+ public async constants(): Promise<NavigationConstants> {
|
204
|
return await Constants.get();
|
204
|
return await Constants.get();
|
205
|
}
|
205
|
}
|
206
|
}
|
206
|
}
|