mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 13:44:41 +08:00
17 lines
516 B
CoffeeScript
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
|