mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
14 lines
318 B
CoffeeScript
14 lines
318 B
CoffeeScript
React = require 'react'
|
|
{ComponentRegistry} = require 'inbox-exports'
|
|
|
|
module.exports =
|
|
item: null
|
|
|
|
activate: (@state={}) ->
|
|
ComponentRegistry.register
|
|
name: 'activity-bar'
|
|
role: 'Global:Footer'
|
|
view: require './activity-bar'
|
|
|
|
deactivate: ->
|
|
ComponentRegistry.unregister 'activity-bar'
|