feat: move search bar to navigation panel (#1170)
This commit is contained in:
@@ -6,6 +6,7 @@ import { ApplicationEvent, PrefKey } from '@standardnotes/snjs'
|
||||
import { observer } from 'mobx-react-lite'
|
||||
import { FunctionComponent, useCallback, useEffect, useMemo, useState } from 'react'
|
||||
import PanelResizer, { PanelSide, ResizeFinishCallback, PanelResizeType } from '@/Components/PanelResizer/PanelResizer'
|
||||
import SearchBar from '@/Components/SearchBar/SearchBar'
|
||||
|
||||
type Props = {
|
||||
application: WebApplication
|
||||
@@ -50,6 +51,10 @@ const Navigation: FunctionComponent<Props> = ({ application }) => {
|
||||
ref={setRef}
|
||||
>
|
||||
<div id="navigation-content" className="content">
|
||||
<SearchBar
|
||||
itemListController={viewControllerManager.itemListController}
|
||||
searchOptionsController={viewControllerManager.searchOptionsController}
|
||||
/>
|
||||
<div className="section-title-bar">
|
||||
<div className="section-title-bar-header">
|
||||
<div className="title text-sm">
|
||||
|
||||
Reference in New Issue
Block a user