UNPKG

@progress/kendo-react-common

Version:

React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package

18 lines (17 loc) 685 B
/**----------------------------------------------------------------------------------------- * Copyright © 2023 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 extends any> = React.ComponentType<P & { ref?: React.Ref<any>; }>; /** * @hidden */ export declare const useCustomComponent: <P = {}>(comp: CustomComponent<P>) => [React.ComponentType<P & { ref?: React.Ref<any> | undefined; }>, Partial<P>];