mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-21 06:34:34 +08:00
17 lines
410 B
CoffeeScript
17 lines
410 B
CoffeeScript
_ = require 'underscore-plus'
|
|
React = require "react"
|
|
SidebarFullContact = require "./sidebar-fullcontact.cjsx"
|
|
{ComponentRegistry} = require("inbox-exports")
|
|
|
|
module.exports =
|
|
item: null
|
|
|
|
activate: (@state={}) ->
|
|
ComponentRegistry.register
|
|
name: 'SidebarFullContact'
|
|
view: SidebarFullContact
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister('SidebarFullContact')
|
|
|
|
serialize: -> @state
|