@progress/kendo-react-map
Version:
KendoReact Map package
19 lines (18 loc) • 708 B
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { canUseDOM as f } from "@progress/kendo-react-common";
const u = (o) => {
let r, t = [];
const a = () => r, c = (e) => {
r = o(r, e), f && t.forEach((s) => s());
}, n = (e) => (t.push(e), () => t = t.filter((s) => s !== e));
return c({}), { getState: a, dispatch: c, subscribe: n };
};
export {
u as default
};