"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var igd_core_1 = require("@intelligentgraphics/igd.core");
exports.usePropertyValueSections = function (property) {
    var sections = React.useMemo(function () { return igd_core_1.IGXE.createPropertyValueSections(property); }, [property]);
    return sections;
};
var PropertyValueSections = function (props) {
    var sections = exports.usePropertyValueSections(props.property);
    return props.children({
        sections: sections,
    });
};
PropertyValueSections.displayName = "PropertyValueSections";
exports.default = PropertyValueSections;
