@octopusdeploy/design-system-components
Version:
The design systems component library.
9 lines (8 loc) • 422 B
TypeScript
import type { ObjectPropertyPath } from "@octopusdeploy/type-utils";
import type { ChartStrokeColor } from "./chartColors";
export interface SparklineChartProps<TResource> {
data: TResource[];
dataKey: ObjectPropertyPath<TResource>;
color: ChartStrokeColor;
}
export declare function SparklineChart<TResource>({ data, dataKey, color }: SparklineChartProps<TResource>): import("react/jsx-runtime").JSX.Element;