UNPKG

859 BTypeScriptView Raw
1/// <reference types="react" />
2import type { StyleProps } from '../commonTypes';
3import type { IAnimatedComponentInternal, IInlinePropManager, ViewInfo } from './commonTypes';
4import type { ViewDescriptorsSet } from '../ViewDescriptorsSet';
5export declare function hasInlineStyles(style: StyleProps): boolean;
6export declare function getInlineStyle(style: Record<string, unknown>, isFirstRender: boolean): StyleProps | Record<string, unknown>;
7export declare class InlinePropManager implements IInlinePropManager {
8 _inlinePropsViewDescriptors: ViewDescriptorsSet | null;
9 _inlinePropsMapperId: number | null;
10 _inlineProps: StyleProps;
11 attachInlineProps(animatedComponent: React.Component<unknown, unknown> & IAnimatedComponentInternal, viewInfo: ViewInfo): void;
12 detachInlineProps(): void;
13}
14//# sourceMappingURL=InlinePropManager.d.ts.map
\No newline at end of file