'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var api = require('./api.js');

/**
 * Returns information about the editor where the extension is being rendered.
 */
function useExtensionEditor() {
  return api.useApi().extension.editor;
}

exports.useExtensionEditor = useExtensionEditor;
