mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 12:40:08 +08:00
17 lines
447 B
CoffeeScript
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
|