Mailspring/internal_packages/thread-list/lib/draft-selection-bar.cjsx

17 lines
516 B
CoffeeScript

React = require "react/addons"
DraftListStore = require './draft-list-store'
{MultiselectActionBar, FluxContainer} = require 'nylas-component-kit'
class DraftSelectionBar extends React.Component
@displayName: 'DraftSelectionBar'
render: =>
<FluxContainer
stores={[DraftListStore]}
getStateFromStores={ -> dataSource: DraftListStore.dataSource() }>
<MultiselectActionBar
className="draft-list"
collection="draft" />
</FluxContainer>
module.exports = DraftSelectionBar