@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
29 lines (28 loc) • 950 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 { SVGIcon } from './SvgIcon.js';
import * as React from 'react';
/**
* IconsContext type.
*/
export interface IconsContextType {
/**
* Sets the type of the icons used in the KendoReact components inside IconsContext.
*/
type?: 'font' | 'svg';
/**
* Overrides the built-in icons.
*/
icons?: {
[name: string]: SVGIcon | string;
};
}
/**
* Represents a React Context which provides you with the option to configure the KendoReact components icons.
*/
export declare const IconsContext: React.Context<IconsContextType>;