react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
14 lines • 859 B
TypeScript
/// <reference types="react" />
import type { StyleProps } from '../commonTypes';
import type { ViewDescriptorsSet } from '../ViewDescriptorsSet';
import type { IAnimatedComponentInternal, IInlinePropManager, ViewInfo } from './commonTypes';
export declare function hasInlineStyles(style: StyleProps): boolean;
export declare function getInlineStyle(style: Record<string, unknown>, isFirstRender: boolean): Record<string, unknown> | StyleProps;
export declare class InlinePropManager implements IInlinePropManager {
_inlinePropsViewDescriptors: ViewDescriptorsSet | null;
_inlinePropsMapperId: number | null;
_inlineProps: StyleProps;
attachInlineProps(animatedComponent: React.Component<unknown, unknown> & IAnimatedComponentInternal, viewInfo: ViewInfo): void;
detachInlineProps(): void;
}
//# sourceMappingURL=InlinePropManager.d.ts.map