UNPKG

@octopusdeploy/design-system-components

Version:
9 lines (8 loc) 422 B
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;