mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 19:41:32 +00:00
13 lines
278 B
TypeScript
13 lines
278 B
TypeScript
import { createContext } from "react";
|
|
|
|
export const TopBarInnerContext = createContext<{
|
|
TopBarInner: {
|
|
location: string,
|
|
node: React.ReactNode,
|
|
} | null;
|
|
setTopBarInner: (el: {
|
|
location: string,
|
|
node: React.ReactNode,
|
|
} | null)=>void;
|
|
} | null>(null);
|