{Utils, DraftStore, React} = require 'nylas-exports' {RetinaImg} = require 'nylas-component-kit' class MyComposerButton extends React.Component # Note: You should assign a new displayName to avoid naming # conflicts when injecting your item @displayName: 'MyComposerButton' # When you register as a composer button, you receive a # reference to the draft, and you can look it up to perform # actions and retrieve data. @propTypes: draftLocalId: React.PropTypes.string.isRequired render: =>