// Module ID: 1878 // Function ID: 1879 // Name: context // Dependencies: [19] // Exports: useToolbarContext // Module 1878 (context) import noop from "noop"; const useContext = noop.useContext; const context = noop.createContext(undefined); export const ToolbarContext = context; export const useToolbarContext = () => { const tmp = useContext(context); if (tmp) { return tmp; } else { const _Error = Error; const error = new Error("KeyboardToolbar.* component must be used inside "); throw error; } };