"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "PageHeader", {
    enumerable: true,
    get: function() {
        return PageHeader;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _react = require("react");
const _baseLayout = require("./baseLayout");
const _layoutContext = require("./layoutContext");
const PageHeader = (props)=>{
    const { setPageHeaderHeight } = (0, _react.useContext)(_layoutContext.LayoutContext);
    const onMeasure = (0, _react.useCallback)((height, width)=>{
        setPageHeaderHeight(height);
    }, []);
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(_baseLayout.BaseLayout, {
        ...props,
        onMeasure: onMeasure
    });
};
PageHeader.displayName = "PageHeader";

//# sourceMappingURL=pageHeader.js.map