@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
19 lines (18 loc) • 611 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
*-------------------------------------------------------------------------------------------
*/
"use client";
import * as u from "react";
const d = (a, o) => {
const [e, n] = a, [l, c] = u.useState(o);
return [e !== void 0 ? e : l, (...t) => {
e !== void 0 ? n(...t) : c(t[0]);
}];
};
export {
d as useInheritedState
};