File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ import { ReactStateDeclaration } from '../interface';
20
20
* ```
21
21
*/
22
22
export const UIRouterContext = React . createContext < UIRouterReact > ( undefined ) ;
23
+ /** @deprecated use [[useRouter]] or React.useContext(UIRouterContext) */
24
+ export const UIRouterConsumer = UIRouterContext . Consumer ;
23
25
24
26
export interface UIRouterProps {
25
27
plugins ?: Array < PluginFactory < UIRouterPlugin > > ;
Original file line number Diff line number Diff line change @@ -95,6 +95,8 @@ export const TransitionPropCollisionError =
95
95
96
96
/** @internalapi */
97
97
export const UIViewContext = createContext < UIViewAddress > ( undefined ) ;
98
+ /** @deprecated use [[useParentView]] or React.useContext(UIViewContext) */
99
+ export const UIViewConsumer = UIViewContext . Consumer ;
98
100
99
101
/** @hidden */
100
102
function useResolvesWithStringTokens ( resolveContext : ResolveContext , injector : UIInjector ) {
You can’t perform that action at this time.
0 commit comments