Files
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

34 lines
1.1 KiB
TypeScript

import * as React from 'react';
import { BarLabelOwnerState } from "./BarLabel.types.js";
export declare const BarLabelComponent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, Pick<React.SVGTextElementAttributes<SVGTextElement>, keyof React.SVGTextElementAttributes<SVGTextElement>>, {}>;
export type BarLabelProps = Omit<React.SVGProps<SVGTextElement>, 'ref' | 'id' | 'x' | 'y' | 'width' | 'height'> & BarLabelOwnerState & {
/**
* The x-coordinate of the stack this bar label belongs to.
*/
xOrigin: number;
/**
* The y-coordinate of the stack this bar label belongs to.
*/
yOrigin: number;
/**
* Position in the x-axis of the bar this label belongs to.
*/
x: number;
/**
* Position in the y-axis of the bar this label belongs to.
*/
y: number;
/**
* Width of the bar this label belongs to.
*/
width: number;
/**
* Height of the bar this label belongs to.
*/
height: number;
};
declare function BarLabel(inProps: BarLabelProps): React.JSX.Element;
declare namespace BarLabel {
var propTypes: any;
}
export { BarLabel };