react-native-redash
Version:
Utility library for React Native Reanimated
8 lines (7 loc) • 351 B
TypeScript
import type { WithSpringConfig, WithTimingConfig } from "react-native-reanimated";
export declare const useSpring: (state: boolean | number, config?: WithSpringConfig | undefined) => Readonly<{
value: number;
}>;
export declare const useTiming: (state: boolean | number, config?: WithTimingConfig | undefined) => Readonly<{
value: number;
}>;