mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
9378f4480c
Conflicts: internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
16 lines
425 B
CoffeeScript
16 lines
425 B
CoffeeScript
path = require 'path'
|
|
require 'coffee-react/register'
|
|
React = require 'react'
|
|
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
|
|
SearchBar = require './search-bar'
|
|
|
|
module.exports =
|
|
configDefaults:
|
|
showOnRightSide: false
|
|
|
|
activate: (@state) ->
|
|
ComponentRegistry.register SearchBar,
|
|
location: WorkspaceStore.Location.ThreadList.Toolbar
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister SearchBar
|