react-native-screens
Version:
Native navigation primitives for your React Native app.
18 lines (15 loc) • 574 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 { StackHeaderConfigProps } from './StackHeaderConfig.types';
/**
* EXPERIMENTAL API, MIGHT CHANGE W/O ANY NOTICE
*/
export default function StackHeaderConfig(
props: StackHeaderConfigProps,
): React.JSX.Element;