verdnatura-chat/app/definitions/index.ts

14 lines
412 B
TypeScript
Raw Normal View History

2021-12-29 21:44:04 +00:00
import { RouteProp } from '@react-navigation/native';
import { StackNavigationProp } from '@react-navigation/stack';
import { Dispatch } from 'redux';
2021-12-29 16:19:48 +00:00
export interface IBaseScreen<T extends Record<string, object | undefined>, S extends string> {
navigation: StackNavigationProp<T, S>;
2021-12-29 21:44:04 +00:00
route: RouteProp<T, S>;
dispatch: Dispatch;
theme: string;
}
export * from './redux';
export * from './redux/TRootEnum';