UNPKG

victory-native

Version:

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

11 lines (10 loc) 497 B
import { type SkPath } from "@shopify/react-native-skia"; import { type WithDecayConfig, type WithSpringConfig, type WithTimingConfig } from "react-native-reanimated"; export type PathAnimationConfig = ({ type: "timing"; } & WithTimingConfig) | ({ type: "spring"; } & WithSpringConfig) | ({ type: "decay"; } & WithDecayConfig); export declare const useAnimatedPath: (currentPathProp: SkPath, animConfig?: PathAnimationConfig) => import("react-native-reanimated").DerivedValue<SkPath>;