@nivo/heatmap
Version:
73 lines • 3.88 kB
TypeScript
import { DefaultHeatMapDatum, HeatMapCommonProps, LayerId } from './types';
export declare const commonDefaultProps: Omit<HeatMapCommonProps<DefaultHeatMapDatum>, 'margin' | 'theme' | 'valueFormat' | 'onClick' | 'renderWrapper' | 'role' | 'ariaLabel' | 'ariaLabelledBy' | 'ariaDescribedBy'> & {
layers: LayerId[];
};
export declare const svgDefaultProps: {
axisTop: {};
axisRight: null;
axisBottom: null;
axisLeft: {};
borderRadius: number;
cellComponent: "rect";
opacity: number;
tooltip: import("./types").TooltipComponent<DefaultHeatMapDatum>;
borderColor: import("@nivo/colors").InheritedColorConfig<Omit<import("./types").ComputedCell<DefaultHeatMapDatum>, "borderColor">>;
borderWidth: number;
label: import("@nivo/core").PropertyAccessor<Omit<import("./types").ComputedCell<DefaultHeatMapDatum>, "color" | "opacity" | "borderColor" | "label" | "labelTextColor">, string>;
animate: boolean;
legends: Omit<import("@nivo/legends").AnchoredContinuousColorsLegendProps, "scale" | "containerWidth" | "containerHeight">[];
annotations: import("@nivo/annotations").AnnotationMatcher<import("./types").ComputedCell<DefaultHeatMapDatum>>[];
labelTextColor: import("@nivo/colors").InheritedColorConfig<Omit<import("./types").ComputedCell<DefaultHeatMapDatum>, "labelTextColor">>;
motionConfig: string | import("@react-spring/core").SpringConfig;
forceSquare: boolean;
sizeVariation: false | import("./types").SizeVariationConfig;
xInnerPadding: number;
xOuterPadding: number;
yInnerPadding: number;
yOuterPadding: number;
activeOpacity: number;
inactiveOpacity: number;
enableGridX: boolean;
enableGridY: boolean;
colors: import("@nivo/colors").ContinuousColorScaleConfig | ((cell: Omit<import("./types").ComputedCell<DefaultHeatMapDatum>, "color" | "opacity" | "borderColor" | "labelTextColor">) => string);
emptyColor: string;
enableLabels: boolean;
isInteractive: boolean;
hoverTarget: "cell" | "row" | "column" | "rowColumn";
layers: LayerId[];
};
export declare const canvasDefaultProps: {
axisTop: {};
axisRight: null;
axisBottom: null;
axisLeft: {};
renderCell: "rect";
pixelRatio: number;
opacity: number;
tooltip: import("./types").TooltipComponent<DefaultHeatMapDatum>;
borderColor: import("@nivo/colors").InheritedColorConfig<Omit<import("./types").ComputedCell<DefaultHeatMapDatum>, "borderColor">>;
borderWidth: number;
label: import("@nivo/core").PropertyAccessor<Omit<import("./types").ComputedCell<DefaultHeatMapDatum>, "color" | "opacity" | "borderColor" | "label" | "labelTextColor">, string>;
animate: boolean;
legends: Omit<import("@nivo/legends").AnchoredContinuousColorsLegendProps, "scale" | "containerWidth" | "containerHeight">[];
annotations: import("@nivo/annotations").AnnotationMatcher<import("./types").ComputedCell<DefaultHeatMapDatum>>[];
labelTextColor: import("@nivo/colors").InheritedColorConfig<Omit<import("./types").ComputedCell<DefaultHeatMapDatum>, "labelTextColor">>;
motionConfig: string | import("@react-spring/core").SpringConfig;
forceSquare: boolean;
sizeVariation: false | import("./types").SizeVariationConfig;
xInnerPadding: number;
xOuterPadding: number;
yInnerPadding: number;
yOuterPadding: number;
activeOpacity: number;
inactiveOpacity: number;
enableGridX: boolean;
enableGridY: boolean;
colors: import("@nivo/colors").ContinuousColorScaleConfig | ((cell: Omit<import("./types").ComputedCell<DefaultHeatMapDatum>, "color" | "opacity" | "borderColor" | "labelTextColor">) => string);
emptyColor: string;
enableLabels: boolean;
isInteractive: boolean;
hoverTarget: "cell" | "row" | "column" | "rowColumn";
layers: LayerId[];
};
//# sourceMappingURL=defaults.d.ts.map