import { createContext, useContext } from 'react';
// TODO: specify generic editor type
const ToolbarContext = createContext(undefined);
export const ToolbarProvider = ToolbarContext.Provider;
export function useToolbarContext() {
    return useContext(ToolbarContext);
}
//# sourceMappingURL=context.js.map
