Files
ETB/ETB-FrontEnd/node_modules/@mui/x-charts/esm/LineChart/LineHighlightElement.d.ts
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

36 lines
1.3 KiB
TypeScript

import * as React from 'react';
import { SeriesId } from "../models/seriesType/common.js";
export interface LineHighlightElementClasses {
/** Styles applied to the root element. */
root: string;
}
export type HighlightElementClassKey = keyof LineHighlightElementClasses;
interface LineHighlightElementCommonProps {
id: SeriesId;
color: string;
x: number;
y: number;
classes?: Partial<LineHighlightElementClasses>;
}
export declare function getHighlightElementUtilityClass(slot: string): string;
export declare const lineHighlightElementClasses: LineHighlightElementClasses;
export type LineHighlightElementProps = (LineHighlightElementCommonProps & ({
shape: 'circle';
} & Omit<React.SVGProps<SVGCircleElement>, 'ref' | 'id'>)) | (LineHighlightElementCommonProps & {
shape: 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye';
} & Omit<React.SVGProps<SVGPathElement>, 'ref' | 'id'>);
/**
* Demos:
*
* - [Lines](https://mui.com/x/react-charts/lines/)
* - [Line demonstration](https://mui.com/x/react-charts/line-demo/)
*
* API:
*
* - [LineHighlightElement API](https://mui.com/x/api/charts/line-highlight-element/)
*/
declare function LineHighlightElement(props: LineHighlightElementProps): React.JSX.Element;
declare namespace LineHighlightElement {
var propTypes: any;
}
export { LineHighlightElement };