File tree 4 files changed +6
-1
lines changed
react-devtools-shared/src/devtools/views/Settings
4 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -496,6 +496,7 @@ module.exports = {
496
496
{
497
497
files : [
498
498
'packages/react-devtools-extensions/**/*.js' ,
499
+ 'packages/react-devtools-shared/src/devtools/views/**/*.js' ,
499
500
'packages/react-devtools-shared/src/hook.js' ,
500
501
'packages/react-devtools-shared/src/backend/console.js' ,
501
502
'packages/react-devtools-shared/src/backend/shared/DevToolsComponentStackFrame.js' ,
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ module.exports = {
87
87
__EXTENSION__ : false ,
88
88
__PROFILE__ : false ,
89
89
__TEST__ : NODE_ENV === 'test' ,
90
+ __IS_NATIVE__ : true ,
90
91
'process.env.DEVTOOLS_PACKAGE' : `"react-devtools-core"` ,
91
92
'process.env.DEVTOOLS_VERSION' : `"${ DEVTOOLS_VERSION } "` ,
92
93
'process.env.EDITOR_URL' : EDITOR_URL != null ? `"${ EDITOR_URL } "` : null ,
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ module.exports = {
82
82
__EXTENSION__ : false ,
83
83
__PROFILE__ : false ,
84
84
__TEST__ : NODE_ENV === 'test' ,
85
+ __IS_NATIVE__ : true ,
85
86
'process.env.DEVTOOLS_PACKAGE' : `"react-devtools-fusebox"` ,
86
87
'process.env.DEVTOOLS_VERSION' : `"${ DEVTOOLS_VERSION } "` ,
87
88
'process.env.EDITOR_URL' : EDITOR_URL != null ? `"${ EDITOR_URL } "` : null ,
Original file line number Diff line number Diff line change @@ -477,7 +477,9 @@ export default function ComponentsSettings({
477
477
< option value = { ElementTypeFunction } > function</ option >
478
478
< option value = { ElementTypeForwardRef } > forward ref</ option >
479
479
< option value = { ElementTypeHostComponent } >
480
- dom nodes (e.g. <div>)
480
+ { __IS_NATIVE__
481
+ ? 'host components (e.g. <RCTText>)'
482
+ : 'dom nodes (e.g. <div>)' }
481
483
</ option >
482
484
< option value = { ElementTypeMemo } > memo</ option >
483
485
< option value = { ElementTypeOtherOrUnknown } > other</ option >
You can’t perform that action at this time.
0 commit comments