20 lines
884 B
TypeScript
20 lines
884 B
TypeScript
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 the list item around each series in the legend. */
|
|
item: 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<"item" | "series" | "root" | "label" | "mark", string>;
|
|
export declare const legendClasses: ChartsLegendClasses; |