Propagate intersection times in image performance logging for RN (#45350)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/45350

Changelog: [internal]

Reviewed By: steelrooter

Differential Revision: D59524510

fbshipit-source-id: 28d38e199fcfcaf421296a4499e11138d43f3b04
This commit is contained in:
Rubén Norte
2024-07-09 14:55:58 -07:00
committed by Facebook GitHub Bot
parent 539788eb6e
commit 0e621295fb
2 changed files with 3 additions and 1 deletions
@@ -50,6 +50,7 @@ interface NativeCommands {
+setIsVisible_EXPERIMENTAL: (
viewRef: ElementRef<HostComponent<mixed>>,
isVisible: boolean,
time: number,
) => void;
}
@@ -4628,7 +4628,8 @@ exports[`public API should not change unintentionally Libraries/Image/ImageViewN
interface NativeCommands {
+setIsVisible_EXPERIMENTAL: (
viewRef: ElementRef<HostComponent<mixed>>,
isVisible: boolean
isVisible: boolean,
time: number
) => void;
}
declare export const Commands: NativeCommands;