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

    Variable PanelConst

    Panel: (props: TypePanelAppProps) => Element = PanelUI

    Type Declaration

      • (props: TypePanelAppProps): Element
      • Material-UI Panel component for displaying collapsible content with header and close button.

        Wraps card components with title, close button, and animated slide-in transitions. Manages focus trapping and accessibility attributes for modal-like behavior when needed. Content can be HTML strings or React elements.

        Parameters

        Returns Element

        Panel component with slide animation and focus management

        <Panel
        panel={{ title: 'settings.title', content: 'Panel content' }}
        button={{ id: 'panel-btn' }}
        onOpen={() => console.log('opened')}
        />