geoview-core - v2.3.0
    Preparing search index...

    Type Alias TypePanelProps

    Type for the panel properties used when creating a new panel.

    type TypePanelProps = {
        content?: ReactNode;
        convertHtmlContent?: boolean;
        icon: ReactNode;
        isFocusTrapped?: boolean;
        panelGroupName?: string;
        panelId?: string;
        panelStyles?: PanelStyles;
        status?: boolean;
        title: string;
        type?: string;
        width?: string | number;
    }
    Index
    content?: ReactNode

    Panel body content.

    convertHtmlContent?: boolean

    Convert panel body content from HTML.

    icon: ReactNode

    Panel header icon.

    isFocusTrapped?: boolean

    is focus trapped for panel

    panelGroupName?: string

    Panel group name.

    panelId?: string

    Panel id.

    panelStyles?: PanelStyles

    Custom panel styles

    status?: boolean

    Panel open status (open/closed).

    title: string

    Panel header title.

    type?: string

    Panel type (app-bar, nav-bar).

    width?: string | number

    Width of the panel (optional).

    Behavior depends on container type:

    • App-bar/footer-bar panels: Percentage of viewport width (default 100). Example: 30 = 30% width.
    • Nav-bar panels: Fixed width in pixels or CSS string. If not provided, defaults to auto-sizing (width: auto, minWidth: 180px, maxWidth: 70vw).