@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
14 lines (13 loc) • 417 B
TypeScript
import React from "react";
export interface StyledLegendProps {
blockGroupColors: (string | undefined)[];
}
export interface LegendProps {
blockGroupNames: string[];
/** Style for each block group */
blockGroupStyles: NonNullable<React.HTMLAttributes<HTMLElement>["style"]>[];
}
/**
* Horizontal stacked bar chart component
*/
export declare const ChartLegend: React.FunctionComponent<LegendProps>;