Mailspring/internal_packages/category-picker/lib/main.cjsx

13 lines
322 B
Text
Raw Normal View History

CategoryPicker = require "./category-picker"
{ComponentRegistry,
WorkspaceStore} = require 'nylas-exports'
module.exports =
activate: (@state={}) ->
ComponentRegistry.register CategoryPicker,
roles: ['thread:BulkAction', 'message:Toolbar']
deactivate: ->
ComponentRegistry.unregister(CategoryPicker)