@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
42 lines (41 loc) • 1.28 kB
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 { BaseIconProps } from './BaseIconProps.js';
import { KendoMouse } from '../models/mouse.js';
import * as React from 'react';
/**
* @hidden
*/
export interface IconHandle {
/**
* The IconHandle element.
*/
element: HTMLSpanElement | null;
}
/**
* Represents the props of the [KendoReact Icon component](https://www.telerik.com/kendo-react-ui/components/common/icon).
*/
export interface IconProps extends BaseIconProps, KendoMouse<IconHandle, HTMLSpanElement> {
/**
* Represents the name of the icon.
*/
name?: string;
}
/**
* Represents the [KendoReact Icon component](https://www.telerik.com/kendo-react-ui/components/common/icon).
*
* @example
* ```jsx
* const App = () => {
* return (
* <Icon name="home"/>
* );
* };
* ```
*/
export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<IconHandle | null>>;