geoiq-frontend-ui-kit
Version:
This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.
18 lines (17 loc) • 363 B
JavaScript
function i() {
return typeof window > "u" ? null : window.ReactNativeWebView ?? null;
}
function n(t) {
const e = i();
if (e)
try {
e.postMessage(
JSON.stringify({ type: "IMAGE_EDITOR", payload: { data: { open: t } } })
);
} catch {
}
}
export {
n as notifyNativeImageEditorState
};
//# sourceMappingURL=index134.es.js.map