@progress/kendo-react-scheduler
Version:
React Scheduler brings the functionality of Outlook's Calendar to a single UI component. KendoReact Scheduler package
21 lines (20 loc) • 797 B
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import * as React from 'react';
/** @hidden */
export type ControlledStateHook<T> = [
T,
(value: T, event?: React.SyntheticEvent | {
target: any;
syntheticEvent: React.SyntheticEvent;
} | {
preventDefault: any;
}) => void
];
/** @hidden */
export declare const useControlledState: <T extends unknown>(defaultProp: T, prop?: T | undefined, callback?: any) => ControlledStateHook<T>;