UNPKG

victory-native

Version:

A charting library for React Native with a focus on performance and customization.

19 lines (18 loc) 805 B
import * as React from "react"; import { type Color } from "@shopify/react-native-skia"; import type { PropsWithChildren } from "react"; import type { ChartBounds, PointsArray } from "../../types"; import { type PathAnimationConfig } from "../../hooks/useAnimatedPath"; import { type StackedBarOptionsFn } from "../hooks/useStackedBarPaths"; type CartesianStackedBarProps = { points: PointsArray[]; chartBounds: ChartBounds; innerPadding?: number; animate?: PathAnimationConfig; barWidth?: number; barCount?: number; colors?: Color[]; barOptions?: StackedBarOptionsFn; }; export declare const StackedBar: ({ points, chartBounds, animate, innerPadding, barWidth, barCount, barOptions, colors, }: PropsWithChildren<CartesianStackedBarProps>) => React.JSX.Element; export {};