import * as React from "react";
import { IGXE } from "@intelligentgraphics/igd.core";
export const usePropertyValueSections = (property) => {
    const sections = React.useMemo(() => IGXE.createPropertyValueSections(property), [property]);
    return sections;
};
const PropertyValueSections = props => {
    const sections = usePropertyValueSections(props.property);
    return props.children({
        sections,
    });
};
PropertyValueSections.displayName = "PropertyValueSections";
export default PropertyValueSections;
