mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7/7 Log attribution context from the image component
Summary: Changelog: [Internal] Log attribution context from the Fabric image component Reviewed By: fkgozali Differential Revision: D23547930 fbshipit-source-id: 125f34dac85ff6ac52a798bb1a36394436cb2c0f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
acda299453
commit
8e9d3ceddf
@@ -30,7 +30,12 @@ ImageProps::ImageProps(const ImageProps &sourceProps, const RawProps &rawProps)
|
||||
capInsets(
|
||||
convertRawProp(rawProps, "capInsets", sourceProps.capInsets, {})),
|
||||
tintColor(
|
||||
convertRawProp(rawProps, "tintColor", sourceProps.tintColor, {})) {}
|
||||
convertRawProp(rawProps, "tintColor", sourceProps.tintColor, {})),
|
||||
internal_analyticTag(convertRawProp(
|
||||
rawProps,
|
||||
"internal_analyticTag",
|
||||
sourceProps.internal_analyticTag,
|
||||
{})) {}
|
||||
|
||||
} // namespace react
|
||||
} // namespace facebook
|
||||
|
||||
@@ -26,6 +26,7 @@ class ImageProps final : public ViewProps {
|
||||
const Float blurRadius{};
|
||||
const EdgeInsets capInsets{};
|
||||
const SharedColor tintColor{};
|
||||
const std::string internal_analyticTag{};
|
||||
};
|
||||
|
||||
} // namespace react
|
||||
|
||||
Reference in New Issue
Block a user