UNPKG

@react-navigation/core

Version:

Core utilities for building navigators

17 lines (16 loc) 539 B
"use strict"; import * as React from 'react'; /** * Context which holds the required helpers needed to build nested navigators. */ export const NavigationBuilderContext = /*#__PURE__*/React.createContext({ onDispatchAction: () => undefined, onOptionsChange: () => undefined, scheduleUpdate: () => { throw new Error("Couldn't find a context for scheduling updates."); }, flushUpdates: () => { throw new Error("Couldn't find a context for flushing updates."); } }); //# sourceMappingURL=NavigationBuilderContext.js.map