InspectedElementViewSourceButton() — react Function Reference
Architecture documentation for the InspectedElementViewSourceButton() function in InspectedElementViewSourceButton.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 82965492_243e_e0a2_80fc_c45e6d113a3a["InspectedElementViewSourceButton()"] e1b4c141_a4b7_37b7_6892_efa866707492["InspectedElementViewSourceButton.js"] 82965492_243e_e0a2_80fc_c45e6d113a3a -->|defined in| e1b4c141_a4b7_37b7_6892_efa866707492 style 82965492_243e_e0a2_80fc_c45e6d113a3a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-shared/src/devtools/views/Components/InspectedElementViewSourceButton.js lines 25–42
function InspectedElementViewSourceButton({
source,
symbolicatedSourcePromise,
}: Props): React.Node {
return (
<React.Suspense
fallback={
<Button disabled={true} title="Loading source maps...">
<ButtonIcon type="view-source" />
</Button>
}>
<ActualSourceButton
source={source}
symbolicatedSourcePromise={symbolicatedSourcePromise}
/>
</React.Suspense>
);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does InspectedElementViewSourceButton() do?
InspectedElementViewSourceButton() is a function in the react codebase, defined in packages/react-devtools-shared/src/devtools/views/Components/InspectedElementViewSourceButton.js.
Where is InspectedElementViewSourceButton() defined?
InspectedElementViewSourceButton() is defined in packages/react-devtools-shared/src/devtools/views/Components/InspectedElementViewSourceButton.js at line 25.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free