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

24 lines
747 B
TypeScript

import type * as React from 'react';
export type ChartBaseCommonProps<T = HTMLElement> = React.DOMAttributes<T> & {
className?: string;
style?: React.CSSProperties;
[k: `aria-${string}`]: any;
[k: `data-${string}`]: any;
};
export type ChartBaseIconProps = ChartBaseCommonProps<SVGSVGElement> & {
titleAccess?: string;
fontSize?: 'small' | 'medium' | 'large' | 'inherit';
};
export type ChartBaseButtonProps = ChartBaseCommonProps & {
ref?: React.Ref<HTMLButtonElement>;
id?: string;
disabled?: boolean;
tabIndex?: number;
};
export type ChartBaseIconButtonProps = ChartBaseCommonProps & {
ref?: React.Ref<HTMLButtonElement>;
id?: string;
disabled?: boolean;
tabIndex?: number;
size?: 'small' | 'medium' | 'large';
};