mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
9378f4480c
Conflicts: internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
18 lines
529 B
CoffeeScript
18 lines
529 B
CoffeeScript
React = require 'react'
|
|
{Message, Actions, NamespaceStore} = require 'nylas-exports'
|
|
{RetinaImg} = require 'nylas-component-kit'
|
|
|
|
class NewComposeButton extends React.Component
|
|
@displayName: 'NewComposeButton'
|
|
|
|
render: =>
|
|
<button style={order: 101}
|
|
className="btn btn-toolbar"
|
|
data-tooltip="Compose new message"
|
|
onClick={@_onNewCompose}>
|
|
<RetinaImg name="toolbar-compose.png"/>
|
|
</button>
|
|
|
|
_onNewCompose: => Actions.composeNewBlankDraft()
|
|
|
|
module.exports = NewComposeButton
|