UNPKG

@vectara/vectara-ui

Version:

Vectara's design system, codified as a React and Sass component library

26 lines (25 loc) 868 B
import { PatchColor } from "../patch/VuiPatch"; export type ComposedSeries = { dataKey: string; type: "bar" | "line"; name?: string; color?: PatchColor; axis?: "left" | "right"; curved?: boolean; }; type Props = { data: Array<Record<string, string | number>>; categoryKey: string; series: ComposedSeries[]; height?: number; showLegend?: boolean; showGrid?: boolean; showTooltip?: boolean; syncId?: string; syncMethod?: "index" | "value"; formatLeftValue?: (value: number) => string; formatRightValue?: (value: number) => string; "data-testid"?: string; }; export declare const VuiComposedChart: ({ data, categoryKey, series, height, showLegend, showGrid, showTooltip, syncId, syncMethod, formatLeftValue, formatRightValue, ...rest }: Props) => import("react/jsx-runtime").JSX.Element; export {};