Skip to content

[No QA] refactor: OptionRowLHN — Container subcomponent #89948

@mountiny

Description

@mountiny

Part of

#89946 — OptionRowLHN compound component decomposition

Step

2 of 12 — depends on #89947 (Provider + context interface).

What

Extract OptionRow.Container into src/components/LHNOptionsList/Container.tsx.

  • Owns the layout skeleton: sidebarInnerRowStyle, contentContainerStyles, flex wiring
  • Reads viewMode (compact vs default) from RowContext to derive styles
  • Renders children; no render-prop
  • Wraps OptionRowPressable and exposes the hover state via context (updates RowContext.state.hovered)

Why

Centralises layout concern and removes style derivation from the main component body.

Acceptance criteria

  • OptionRow.Container renders children and exposes hover state in context
  • sidebarInnerRowStyle / contentContainerStyles logic lives only in Container.tsx
  • No visible behavior or style changes
Issue OwnerCurrent Issue Owner: @DylanDylann

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions