@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
17 lines (16 loc) • 768 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 CustomComponent<P = unknown> = React.ComponentType<P> | React.ReactElement<Partial<P>> | string;
/**
* @hidden
*/
export declare const useCustomComponent: <P = unknown>(comp: React.ExoticComponent<React.FragmentProps> | CustomComponent<P> | null) => [string | React.ComponentType<P & React.RefAttributes<unknown>>, Partial<P>];