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

    Variable TabsConst

    Tabs: (props: TypeTabsProps) => Element = TabsUI

    Type Declaration

      • (props: TypeTabsProps): Element
      • Custom tabbed interface component with responsive mobile support.

        Provides a fully accessible tabs UI with keyboard navigation, focus management, and mobile dropdown support. Handles both horizontal and vertical layouts, with content visibility control and escape key handling for integration with panels.

        Parameters

        • props: TypeTabsProps

          Tabs configuration (see TypeTabsProps interface)

        Returns Element

        Tabs component with responsive tab switching and panel content

        <Tabs
        mapId="mapWM"
        tabs={[
        { id: 'tab1', value: 0, label: 'Tab 1', content: <div>Content 1</div> },
        { id: 'tab2', value: 1, label: 'Tab 2', content: <div>Content 2</div> }
        ]}
        selectedTab={0}
        containerType="panel"
        appHeight="100vh"
        hiddenTabs={[]}
        isFullScreen={false}
        onSelectedTabChanged={handleTabChange}
        />