OpenSymbolicatedSourceInEditorButton() — react Function Reference
Architecture documentation for the OpenSymbolicatedSourceInEditorButton() function in OpenInEditorButton.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD e6150c94_d3e0_7067_c70a_ffbf16bb6299["OpenSymbolicatedSourceInEditorButton()"] b5bf8091_2b63_1c9d_a667_8b4f387e11b9["OpenInEditorButton.js"] e6150c94_d3e0_7067_c70a_ffbf16bb6299 -->|defined in| b5bf8091_2b63_1c9d_a667_8b4f387e11b9 3c81519b_a855_b45e_b91b_c1dcaaf5d5b9["checkConditions()"] e6150c94_d3e0_7067_c70a_ffbf16bb6299 -->|calls| 3c81519b_a855_b45e_b91b_c1dcaaf5d5b9 style e6150c94_d3e0_7067_c70a_ffbf16bb6299 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-shared/src/devtools/views/Components/OpenInEditorButton.js lines 26–46
function OpenSymbolicatedSourceInEditorButton({
editorURL,
source,
symbolicatedSourcePromise,
}: Props): React.Node {
const symbolicatedSource = React.use(symbolicatedSourcePromise);
const {url, shouldDisableButton} = checkConditions(
editorURL,
symbolicatedSource ? symbolicatedSource.location : source,
);
return (
<Button
disabled={shouldDisableButton}
onClick={() => window.open(url)}
title="Open in editor">
<ButtonIcon type="editor" />
</Button>
);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does OpenSymbolicatedSourceInEditorButton() do?
OpenSymbolicatedSourceInEditorButton() is a function in the react codebase, defined in packages/react-devtools-shared/src/devtools/views/Components/OpenInEditorButton.js.
Where is OpenSymbolicatedSourceInEditorButton() defined?
OpenSymbolicatedSourceInEditorButton() is defined in packages/react-devtools-shared/src/devtools/views/Components/OpenInEditorButton.js at line 26.
What does OpenSymbolicatedSourceInEditorButton() call?
OpenSymbolicatedSourceInEditorButton() calls 1 function(s): checkConditions.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free