react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
16 lines • 1.08 kB
TypeScript
/// <reference types="react" />
import type { AnimatedComponentProps, AnimatedComponentType, IAnimatedComponentInternal, IJSPropsUpdater, InitialComponentProps, JSPropsOperation } from './commonTypes';
declare class JSPropsUpdaterNative implements IJSPropsUpdater {
private static _tagToComponentMapping;
registerComponent(animatedComponent: AnimatedComponentType, jsProps: string[]): void;
unregisterComponent(animatedComponent: AnimatedComponentType): void;
updateProps(operations: JSPropsOperation[]): void;
}
declare class JSPropsUpdaterWeb implements IJSPropsUpdater {
registerComponent(_animatedComponent: React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal): void;
unregisterComponent(_animatedComponent: React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal): void;
updateProps(_operations: JSPropsOperation[]): void;
}
declare const jsPropsUpdater: JSPropsUpdaterNative | JSPropsUpdaterWeb;
export default jsPropsUpdater;
//# sourceMappingURL=JSPropsUpdater.d.ts.map