Files
react-native/ReactCommon/react/renderer/scheduler/InspectorData.h
T
David Vacca 43a91d03eb Extend getInspectorDataForInstance to return props
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
2021-08-04 11:39:17 -07:00

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