ScrollIntoViewTargetElement.js — react Source File
Architecture documentation for ScrollIntoViewTargetElement.js, a javascript file in the react codebase. 0 imports, 3 dependents.
Entity Profile
Dependency Diagram
graph LR 54fdfb71_d9cb_227f_9ddd_db85674e3758["ScrollIntoViewTargetElement.js"] 31c15496_1aa2_12cd_6859_37fdcdc9b145["ScrollIntoViewCase.js"] 31c15496_1aa2_12cd_6859_37fdcdc9b145 --> 54fdfb71_d9cb_227f_9ddd_db85674e3758 7486449c_3e36_bfbd_2139_9b76ff3b0f05["ScrollIntoViewCaseComplex.js"] 7486449c_3e36_bfbd_2139_9b76ff3b0f05 --> 54fdfb71_d9cb_227f_9ddd_db85674e3758 dc954d72_882f_8ac7_aa54_99a4a5bbb387["ScrollIntoViewCaseSimple.js"] dc954d72_882f_8ac7_aa54_99a4a5bbb387 --> 54fdfb71_d9cb_227f_9ddd_db85674e3758 style 54fdfb71_d9cb_227f_9ddd_db85674e3758 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
const React = window.React;
export default function ScrollIntoViewTargetElement({color, id, top}) {
return (
<div
id={id}
style={{
height: 500,
minWidth: 300,
backgroundColor: color,
marginTop: top ? '50vh' : 0,
marginBottom: 100,
flexShrink: 0,
}}>
{id}
</div>
);
}
Domain
Subdomains
Functions
Imported By
Source
Frequently Asked Questions
What does ScrollIntoViewTargetElement.js do?
ScrollIntoViewTargetElement.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Optimization subdomain.
What functions are defined in ScrollIntoViewTargetElement.js?
ScrollIntoViewTargetElement.js defines 1 function(s): ScrollIntoViewTargetElement.
What files import ScrollIntoViewTargetElement.js?
ScrollIntoViewTargetElement.js is imported by 3 file(s): ScrollIntoViewCase.js, ScrollIntoViewCaseComplex.js, ScrollIntoViewCaseSimple.js.
Where is ScrollIntoViewTargetElement.js in the architecture?
ScrollIntoViewTargetElement.js is located at fixtures/dom/src/components/fixtures/fragment-refs/ScrollIntoViewTargetElement.js (domain: BabelCompiler, subdomain: Optimization, directory: fixtures/dom/src/components/fixtures/fragment-refs).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free