Child components (typically two: main content and secondary content)
Layout Configuration:
Percentage size of the main component when stacking (0-100, e.g., 70 means main takes 70% of space)
Whether to stack components (true = stack, false = side-by-side)
Dimensions (Responsive):
Optional
containerFraction of window width to use (0.0 to 1.0)
Optional
containerFraction of window height to use (0.0 to 1.0)
Callback invoked when component sizes change (receives ComponentSizes)
Styling:
Optional
defaultHeight adjustment fraction when controls are shown
Control Bar Adjustment:
Whether control bar is visible (affects available height)
State Management:
Current calculated sizes for main and secondary components
Optional
styleAdditional custom styles to apply to the container
Advanced Render Overrides:
Optional
renderOptional custom renderer for content (receives defaultContent and dimensions)
Optional
renderOptional custom renderer for outer container (receives defaultContainer and dimensions)
Configuration options for the MainScreenComponent.
MainScreenComponentOptions
Content: