react-native-screens
Version:
Native navigation primitives for your React Native app.
23 lines (19 loc) • 681 B
TypeScript
/**
* TS module resolution does not support this RN platform extension pattern out of the box.
* Without a base .tsx file, TS will throw a "Cannot find module" error.
*
* This file satisfies the TS compiler by providing the correct type signatures,
* whereas Metro will handle the proper runtime file resolution.
*/
import React from 'react';
import type {
StackHeaderConfigProps,
StackHeaderConfigRef,
} from './StackHeaderConfig.types';
/**
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
*/
declare const StackHeaderConfig: React.ForwardRefExoticComponent<
StackHeaderConfigProps & React.RefAttributes<StackHeaderConfigRef>
>;
export default StackHeaderConfig;