Mailspring/internal_packages/thread-search/lib/main.es6

17 lines
400 B
Text
Raw Normal View History

import {ComponentRegistry, WorkspaceStore} from 'nylas-exports'
import ThreadSearchBar from './thread-search-bar'
export const configDefaults = {
showOnRightSide: false,
}
export function activate() {
ComponentRegistry.register(ThreadSearchBar, {
location: WorkspaceStore.Location.ThreadList.Toolbar,
})
}
export function deactivate() {
ComponentRegistry.unregister(ThreadSearchBar)
}