rn_component_tree
List React Native components on screen, keyed by testID, to identify the component that owns an element. Use this to locate the component before inspecting its styles.
Instructions
React components on screen, keyed by testID. Start here to find which component owns an element, then call rn_styles. Requires a dev build with Metro running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows. Defaults to 50. Pass 0 for all. | |
| bundleId | No | Filter Metro targets by bundle id, e.g. com.example.myapp. | |
| includePath | No | Include the ancestor chain per row. Verbose, off by default. | |
| onlyTestIds | No | Only components carrying a testID. Defaults to true. |