UNPKG

825 BTypeScriptView Raw
1/// <reference types="react" />
2import type { INativeEventsManager, IAnimatedComponentInternal, AnimatedComponentProps, InitialComponentProps, AnimatedComponentRef } from './commonTypes';
3export declare class NativeEventsManager implements INativeEventsManager {
4 #private;
5 constructor(component: ManagedAnimatedComponent, options?: ComponentOptions);
6 attachEvents(): void;
7 detachEvents(): void;
8 updateEvents(prevProps: AnimatedComponentProps<InitialComponentProps>): void;
9 private getEventViewTag;
10}
11type ManagedAnimatedComponent = React.Component<AnimatedComponentProps<InitialComponentProps>> & IAnimatedComponentInternal;
12type ComponentOptions = {
13 setNativeProps: (ref: AnimatedComponentRef, props: InitialComponentProps) => void;
14};
15export {};
16//# sourceMappingURL=NativeEventsManager.d.ts.map
\No newline at end of file