"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useFloatingPanel = useFloatingPanel;
var _react = require("react");
var _constants = require("./constants");
/**
 * Use inside the content component for FloatingPanel in order to get access to context
 */
function useFloatingPanel() {
  return (0, _react.useContext)(_constants.FloatingPanelContext);
}