Mailspring/internal_packages/search-bar/lib/main.cjsx
Ben Gotow b6dc7f0c9b feat(hotloading): CJSX hotloading when running in dev mode
Summary:
# Conflicts:
#	static/components/tokenizing-text-field.less

Wat no

Test Plan: Tested with ci build

Reviewers: evan

Reviewed By: evan

Maniphest Tasks: T1216

Differential Revision: https://phab.nylas.com/D1804
2015-07-24 14:10:48 -07:00

15 lines
376 B
CoffeeScript

path = require 'path'
{ComponentRegistry, WorkspaceStore, React} = 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