Mailspring/internal_packages/search-bar/lib/main.cjsx
Ben Gotow 9378f4480c fix(naming): Move atom/inbox/nilas refs to Nylas
Conflicts:
	internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
2015-05-15 11:07:28 -07:00

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