diff --git a/packages/react-devtools-shared/src/devtools/views/Settings/ComponentsSettings.js b/packages/react-devtools-shared/src/devtools/views/Settings/ComponentsSettings.js index e9e4f07616ac3..4309b0e5fbe4d 100644 --- a/packages/react-devtools-shared/src/devtools/views/Settings/ComponentsSettings.js +++ b/packages/react-devtools-shared/src/devtools/views/Settings/ComponentsSettings.js @@ -42,6 +42,8 @@ import { ElementTypeOtherOrUnknown, ElementTypeProfiler, ElementTypeSuspense, + ElementTypeActivity, + ElementTypeViewTransition, } from 'react-devtools-shared/src/frontend/types'; import {getDefaultOpenInEditorURL} from 'react-devtools-shared/src/utils'; @@ -56,6 +58,7 @@ import type { RegExpComponentFilter, EnvironmentNameComponentFilter, } from 'react-devtools-shared/src/frontend/types'; +import {isInternalFacebookBuild} from 'react-devtools-feature-flags'; const vscodeFilepath = 'vscode://file/{path}:{line}'; @@ -472,8 +475,9 @@ export default function ComponentsSettings({ ((parseInt(currentTarget.value, 10): any): ElementType), ) }> - {/* TODO: currently only experimental, only list this if it's available */} - {/**/} + {isInternalFacebookBuild && ( + + )} @@ -487,10 +491,11 @@ export default function ComponentsSettings({ - {/* TODO: currently only experimental, only list this if it's available */} - {/**/} + {isInternalFacebookBuild && ( + + )} )} {(componentFilter.type === ComponentFilterLocation ||