import React from 'react';
import { useSyncedValueHeights } from '../../../contexts/SyncedValueHeightsContext';
export var ValueHeightConsumer = function (_a) {
    var uri = _a.uri, children = _a.children;
    var getHeight = useSyncedValueHeights().getHeight;
    var height = getHeight(uri);
    return React.createElement("div", { style: height ? { minHeight: height } : undefined }, children);
};
