mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-13 21:24:58 +08:00
11 lines
337 B
Text
11 lines
337 B
Text
|
React = require 'react'
|
||
|
{Message, Actions, NamespaceStore} = require 'inbox-exports'
|
||
|
|
||
|
module.exports =
|
||
|
NewComposeButton = React.createClass
|
||
|
render: ->
|
||
|
<button className="btn btn-compose"
|
||
|
onClick={@_onNewCompose}><i className="fa fa-pencil"></i> Compose</button>
|
||
|
|
||
|
_onNewCompose: -> Actions.composeNewBlankDraft()
|