Home / Function/ containerHeightLayout() — react Function Reference

containerHeightLayout() — react Function Reference

Architecture documentation for the containerHeightLayout() function in layouter.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  badba92e_9622_4340_89ab_87c24d95b685["containerHeightLayout()"]
  967225f1_4dbc_efd7_073f_8182bb20aa4f["layouter.js"]
  badba92e_9622_4340_89ab_87c24d95b685 -->|defined in| 967225f1_4dbc_efd7_073f_8182bb20aa4f
  style badba92e_9622_4340_89ab_87c24d95b685 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-timeline/src/view-base/layouter.js lines 132–143

export const containerHeightLayout: Layouter = (layout, containerFrame) => {
  return layout.map(layoutInfo => ({
    ...layoutInfo,
    frame: {
      origin: layoutInfo.frame.origin,
      size: {
        width: layoutInfo.frame.size.width,
        height: containerFrame.size.height,
      },
    },
  }));
};

Domain

Subdomains

Frequently Asked Questions

What does containerHeightLayout() do?
containerHeightLayout() is a function in the react codebase, defined in packages/react-devtools-timeline/src/view-base/layouter.js.
Where is containerHeightLayout() defined?
containerHeightLayout() is defined in packages/react-devtools-timeline/src/view-base/layouter.js at line 132.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free