Mailspring/internal_packages/sidebar-fullcontact/lib/main.cjsx
Ben Gotow 91edef9f7a 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
433 B
CoffeeScript

_ = require 'underscore-plus'
React = require "react"
SidebarFullContact = require "./sidebar-fullcontact"
{ComponentRegistry, WorkspaceStore} = require "nylas-exports"
module.exports =
item: null
activate: (@state={}) ->
ComponentRegistry.register SidebarFullContact,
location: WorkspaceStore.Location.MessageListSidebar
deactivate: ->
ComponentRegistry.unregister(SidebarFullContact)
serialize: -> @state