UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

18 lines 784 B
import type { ChartsLegendProps } from "./ChartsLegend.js"; import type { ChartsLegendSlotExtension } from "./chartsLegend.types.js"; export interface ChartsLegendClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to a series element. */ series: string; /** Styles applied to series mark element. */ mark: string; /** Styles applied to the series label. */ label: string; /** Styles applied to the legend in column layout. */ vertical: string; /** Styles applied to the legend in row layout. */ horizontal: string; } export declare const useUtilityClasses: (props: ChartsLegendProps & ChartsLegendSlotExtension) => Record<"root" | "label" | "mark" | "series", string>; export declare const legendClasses: ChartsLegendClasses;