UNPKG

victory-native

Version:

[![Victory Native](https://oss.nearform.com/api/banner?badge=victory&text=victory+native&bg=9c2f1e)](https://commerce.nearform.com/open-source/victory-native/)

11 lines (10 loc) 486 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: (path: SkPath, animConfig?: PathAnimationConfig) => import("react-native-reanimated").DerivedValue<SkPath>;