import React, { createContext, type PropsWithChildren } from 'react'; export const Context = createContext('default'); export function ContextProvider({ children }: PropsWithChildren) { return {children}; } export function ContextConsumer() { return {(value) => value}; } export const NamedContext = createContext('default'); NamedContext.displayName = "NamedContextDisplayName"; export function NamedContextProvider({ children }: PropsWithChildren) { return {children}; } export function NamedContextConsumer() { return {(value) => value}; }