rescribet/link-redux

View on GitHub
src/hooks/useLinkRenderContext.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import React from "react";

import { LinkRenderCtx } from "../contexts/LinkRenderCtx";

/**
 * @internal `useTopology` or `useSubject` instead.
 */
export const useLinkRenderContext = () => React.useContext(LinkRenderCtx);