mongodb-chatbot-ui
Version:
UI React components for the MongoDB Chatbot Framework
10 lines (9 loc) • 360 B
TypeScript
/// <reference types="react" />
export type HotkeyContextData = {
hotkey: string | null;
setHotkey: (hotkey: HotkeyContextData["hotkey"]) => void;
};
export declare function HotkeyContextProvider({ children, }: {
children: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useHotkeyContext(): HotkeyContextData;