@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
10 lines (9 loc) • 1.06 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
"use client";
;Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react"),c=require("../constants/main.js");function i(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const a=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,a.get?a:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const r=i(d),u={small:c.ADAPTIVE_SMALL_BREAKPOINT,medium:c.ADAPTIVE_MEDIUM_BREAKPOINT},n=r.createContext(u),l=()=>r.useContext(n);n.displayName="KendoReactAdaptiveModeContext";exports.AdaptiveModeContext=n;exports.defaultValue=u;exports.useAdaptiveModeContext=l;