Mailspring/internal_packages/composer/lib/new-compose-button.cjsx
Ben Gotow 9378f4480c fix(naming): Move atom/inbox/nilas refs to Nylas
Conflicts:
	internal_packages/inbox-activity-bar/lib/activity-bar-long-poll-item.cjsx
2015-05-15 11:07:28 -07:00

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