import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2007-2025 GoodData Corporation
import { GridLayoutElement } from "./GridLayoutElement.js";
const isHiddenStyle = { height: 0, width: 0, overflow: "hidden", flex: 0 };
const defaultStyle = {};
export function DashboardLayoutSectionRenderer({ children, parentLayoutItemSize, className, isHidden, exportStyles, }) {
    const style = isHidden ? isHiddenStyle : defaultStyle;
    return (_jsx(GridLayoutElement, { type: "section", layoutItemSize: parentLayoutItemSize, className: className, style: style, exportStyles: exportStyles, children: children }));
}
