@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
26 lines (25 loc) • 925 B
TypeScript
/**-----------------------------------------------------------------------------------------
* 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';
import { SVGIcon } from './SvgIcon';
/**
* 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>;