Mailspring/internal_packages/events/lib/main.cjsx
EthanBlackburn 88a45dfd13 RSVP tile for events on messages
Summary: RSVP tile now appears for messages with attached events.

Test Plan: Tested manually. Will add unit tests

Reviewers: evan, bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D1797
2015-07-28 18:21:30 -07:00

13 lines
No EOL
313 B
CoffeeScript

{ComponentRegistry, WorkspaceStore} = require 'nylas-exports'
module.exports =
activate: (@state={}) ->
EventComponent = require "./event-component"
ComponentRegistry.register EventComponent,
role: 'Event'
deactivate: ->
ComponentRegistry.unregister EventComponent
serialize: -> @state