@progress/kendo-react-gauges
Version:
React Gauges provide a set of React components for building beautiful and customizable gauges. KendoReact Gauges package
59 lines (58 loc) • 1.66 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 { Gauges } from './common/gauges';
/**
* @hidden
*/
export interface BaseGaugePrivateProps extends BaseGaugeProps {
/**
* @hidden
*/
deriveOptionsFromParent?: (options: any) => any;
/**
* @hidden
*/
gaugeConstructor: any;
/**
* @hidden
*/
getTarget: () => Gauges;
}
/**
* @hidden
*/
export interface BaseGaugeProps {
/**
* Determines the children nodes.
*/
children?: React.ReactNode;
/**
* Represents the `dir` HTML attribute.
*/
dir?: string;
/**
* The styles that are applied to the component.
*/
style?: React.CSSProperties;
/**
* Sets additional CSS classes to the component.
*/
className?: string;
/**
* Sets the preferred rendering engine. If not supported by the browser, the Gauge switches to the first available mode.
*
* The supported values are:
* - `"svg"`—If available, renders the component as an inline `.svg` file.
* - `"canvas"`—If available, renders the component as a `canvas` element.
*/
renderAs?: 'svg' | 'canvas';
/**
* If set to `true`, the Gauge plays animations when it displays the series. By default, animations are enabled.
*/
transitions?: boolean;
}