mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
43a91d03eb
Summary: This diff extends the FabricUIManager.getInspectorDataForInstance to return the props of the React Native component associated to the view passed as a parameter. changelog: [internal] internal Reviewed By: sammy-SC Differential Revision: D30095406 fbshipit-source-id: 50fdba6636a1f5042dbc113e341c3cb2534a1b04
25 lines
534 B
C++
25 lines
534 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#include <vector>
|
|
|
|
namespace facebook {
|
|
namespace react {
|
|
|
|
struct InspectorData {
|
|
std::vector<std::string> hierarchy;
|
|
int selectedIndex;
|
|
std::string fileName;
|
|
int lineNumber;
|
|
int columnNumber;
|
|
// TODO T97216348: remove folly::dynamic from InspectorData struct
|
|
folly::dynamic props;
|
|
};
|
|
|
|
} // namespace react
|
|
} // namespace facebook
|