Mailspring/internal_packages/message-templates/lib/main.cjsx

17 lines
447 B
CoffeeScript

React = require "react"
{ComponentRegistry} = require('inbox-exports')
TemplatePicker = require './template-picker'
module.exports =
item: null # The DOM item the main React component renders into
activate: (@state={}) ->
# Register our menu item in the composer footer
# ComponentRegistry.register
# name: 'TemplatePicker'
# role: 'Composer:Footer'
# view: TemplatePicker
deactivate: ->
serialize: -> @state