Renders a text field. When config.style === "title" or
config.variant === "title", produces the sidepanel title
(<h2 class="gl-poi-sidepanel__title"><span class="gl-poi-sidepanel__title-text">)
— the title always renders (empty value coerced to ""). When iconSymbolId is
provided (the feature's category/sub-category icon, resolved by the caller for
this surface), the sprite glyph is prefixed BEFORE the title text, reproducing
the legacy "category icon next to the title" behaviour; without it the title DOM
is byte-identical to the pre-extraction original. Otherwise produces a
gl-poi-sidepanel__desc paragraph, or a <div> with white-space: pre-wrap
when config.variant === "multiline". Non-title fields return null when empty.
Renders a text field. When
config.style === "title"orconfig.variant === "title", produces the sidepanel title (<h2 class="gl-poi-sidepanel__title"><span class="gl-poi-sidepanel__title-text">) — the title always renders (empty value coerced to""). WheniconSymbolIdis provided (the feature's category/sub-category icon, resolved by the caller for this surface), the sprite glyph is prefixed BEFORE the title text, reproducing the legacy "category icon next to the title" behaviour; without it the title DOM is byte-identical to the pre-extraction original. Otherwise produces agl-poi-sidepanel__descparagraph, or a<div>withwhite-space: pre-wrapwhenconfig.variant === "multiline". Non-title fields returnnullwhen empty.