@mui/x-charts
Version:
The community edition of MUI X Charts components.
20 lines • 623 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;
};
export type ChartBaseButtonProps = ChartBaseCommonProps & {
ref?: React.Ref<HTMLButtonElement>;
disabled?: boolean;
tabIndex?: number;
};
export type ChartBaseIconButtonProps = ChartBaseCommonProps & {
ref?: React.Ref<HTMLButtonElement>;
disabled?: boolean;
tabIndex?: number;
};