mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-04 07:10:06 +08:00
13 lines
431 B
CoffeeScript
13 lines
431 B
CoffeeScript
React = require "react"
|
|
AccountSidebar = require "./components/account-sidebar"
|
|
{ComponentRegistry, WorkspaceStore} = require "mailspring-exports"
|
|
|
|
module.exports =
|
|
item: null # The DOM item the main React component renders into
|
|
|
|
activate: (@state) ->
|
|
ComponentRegistry.register AccountSidebar,
|
|
location: WorkspaceStore.Location.RootSidebar
|
|
|
|
deactivate: (@state) ->
|
|
ComponentRegistry.unregister(AccountSidebar)
|