@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
16 lines (15 loc) • 538 B
TypeScript
import { PatchColor } from "../patch/VuiPatch";
type Props = {
data: Array<Record<string, string | number>>;
categoryKey: string;
valueKey: string;
donut?: boolean;
colors?: PatchColor[];
showLabels?: boolean;
height?: number;
showLegend?: boolean;
showTooltip?: boolean;
"data-testid"?: string;
};
export declare const VuiPieChart: ({ data, categoryKey, valueKey, donut, colors, showLabels, height, showLegend, showTooltip, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
export {};