rescribet/link-redux

View on GitHub
src/contexts/LinkRenderCtx.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { DEFAULT_TOPOLOGY } from "link-lib";
import React from "react";

import { LinkRenderContext } from "../types";

export const LinkRenderCtx = React.createContext<LinkRenderContext>(
    {
        subject: undefined!,
        topology: DEFAULT_TOPOLOGY,
    },
);