components.section

section(
options: { accessory?: Component; component: Component; description?: string; label: string; }
) → Component

Create a Components V2 section with an optional accessory.

Parameters:
  • options: Section label, component, description, and accessory.