UNPKG

@progress/kendo-react-charts

Version:

React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package

28 lines (27 loc) 1.39 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { SeriesTooltip } from '../../common/property-types.js'; import { TooltipContext } from './../../tooltip/Context.js'; import * as React from 'react'; /** * Represents the props of the KendoReact ChartSeriesItemTooltip component ([see example](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/tooltips)). */ export interface ChartSeriesItemTooltipProps extends SeriesTooltip { /** * A function that can be used to create a custom tooltip template. * * The function accepts a `TooltipContext` object as an argument and should return a React element * that represents the custom tooltip content. */ render?: (props: TooltipContext) => React.ReactNode; } /** * Represents the KendoReact ChartSeriesItemTooltip component ([see example](https://www.telerik.com/kendo-react-ui/components/charts/chart/elements/tooltips)). */ declare const ChartSeriesItemTooltip: React.FunctionComponent<ChartSeriesItemTooltipProps>; export { ChartSeriesItemTooltip };