import { createContext, type Dispatch, type SetStateAction } from 'react'; type ContextType = Readonly<{ setShown: Dispatch>; shown: boolean; }>; const Context = createContext( new Proxy({} as ContextType, { get() { throw new Error('botframework-webchat: This hook can only used under its corresponding .'); } }) ); Context.displayName = 'TelephoneKeypad.Context'; export default Context;