Mailspring/packages/client-app/internal_packages/worker-ui/lib/main.cjsx

16 lines
421 B
CoffeeScript

React = require 'react'
{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
DeveloperBar = require './developer-bar'
module.exports =
item: null
activate: (@state={}) ->
WorkspaceStore.defineSheet 'Main', {root: true},
popout: ['Center']
ComponentRegistry.register DeveloperBar,
location: WorkspaceStore.Location.Center
deactivate: ->
ComponentRegistry.unregister DeveloperBar