TopNavMenu filter bar not visible

I am using the TopNavMenu provided by navigation.ui, everything else displays except for the filter bar as seen below.

I have referred to the kibana examples - "third_party_maps_source_example" and "search_examples"

The code I have used is below

<TopNavMenu appName={PLUGIN_ID}
        showSearchBar={true}
        useDefaultBehaviors={true}
        indexPatterns={dataView ? [dataView][0][0] : undefined}
        showFilterBar={true}
        unifiedSearch={getUnifiedSearchPublicPlugin()}
      />

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.