import { jsx as _jsx } from "react/jsx-runtime";
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/
import Stack from "@foxglove/studio-base/components/Stack.js";
import { initI18n } from "@foxglove/studio-base/i18n/index.js";
import React from "react";
export const PanelLayout = ({ children }) => {
    const i18nInitializedRef = React.useRef(false);
    React.useEffect(() => {
        if (!i18nInitializedRef.current) {
            i18nInitializedRef.current = false;
            void initI18n({ context: "browser" });
        }
    }, []);
    return (_jsx(Stack, { direction: "row", gap: 1, fullWidth: true, fullHeight: true, children: children }));
};
//# sourceMappingURL=PanelLayout.js.map