UNPKG

mongodb-chatbot-ui

Version:

UI React components for the MongoDB Assistant

13 lines (12 loc) 290 B
import { useContext as o } from "react"; import { a as e } from "./ChatbotProvider.js"; import "react/jsx-runtime"; function a() { const t = o(e); if (!t) throw new Error("useChatbotContext must be used within a ChatbotProvider"); return t; } export { a as useChatbotContext };