onDOMNodeMouseOut: PropTypes.func, onInspectIconClick: PropTypes.func, }; function GripEntry(props) { const { object } = props; let { key, value } = object.preview; if (key && key.getGrip) { key = key.getGrip(); } if (value && value.getGrip) { value = value.getGrip(); } return span( { className: "objectBox objectBox-map-entry", }, PropRep({ ...props, name: key, object: value, equal: " \u2192 ", title: null, suppressQuotes: false, }) ); } function supportsObject(grip, noGrip = false) { if (noGrip === true) { return false; } return ( grip && (grip.type === "formDataEntry" || grip.type === "highlightRegistryEntry" || grip.type === "mapEntry" || grip.type === "storageEntry" || grip.type === "urlSearchParamsEntry") && grip.preview ); } const rep = wrapRender(GripEntry); // Exports from this module export { rep, supportsObject }; PK