Mailspring/internal_packages/category-picker/lib/main.cjsx
Evan Morikawa b89fea38c0 feat(labels): add a new label/folder picker
Summary:
This is the initial diff for the label picker UI. This is all of the
functionality and none of the CSS.

Test Plan: todo

Reviewers: bengotow

Reviewed By: bengotow

Subscribers: sdw

Differential Revision: https://phab.nylas.com/D1761
2015-07-21 14:20:15 -07:00

12 lines
322 B
CoffeeScript

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)