Hierarchy

  • InfoPanelProps

Properties

className?: string

Optional class

collapsible?: boolean

Enable collapsible functionality (default: true)

defaultCollapsed?: boolean

Initial collapsed state (default: false)

minWidthThreshold?: number

Minimum width threshold in pixels for auto-collapse If not provided, will be parsed from width prop (only works if width is in px format) Required for auto-collapse when width is percentage, rem, or CSS variable

onCollapseChange?: ((collapsed) => void)

Type declaration

    • (collapsed): void
    • Callback when collapse state changes

      Parameters

      • collapsed: boolean

      Returns void

siblingMinWidth?: number

Minimum width of the sibling content (default: 740px)

width?: string

Width of the container (any CSS value: px, %, rem, etc.) Note: For auto-collapse to work, width must be in px format (e.g., "480px") or minWidthThreshold must be explicitly provided

Generated using TypeDoc