UNPKG

349 BTypeScriptView Raw
1import type { ParamListBase } from '@react-navigation/core';
2import * as React from 'react';
3
4import type { LinkingOptions } from './types';
5
6const LinkingContext = React.createContext<{
7 options: LinkingOptions<ParamListBase> | undefined;
8}>({ options: undefined });
9
10LinkingContext.displayName = 'LinkingContext';
11
12export default LinkingContext;