mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
17 lines
525 B
CoffeeScript
17 lines
525 B
CoffeeScript
React = require "react/addons"
|
|
ThreadListStore = require './thread-list-store'
|
|
{MultiselectActionBar, FluxContainer} = require 'nylas-component-kit'
|
|
|
|
class ThreadSelectionBar extends React.Component
|
|
@displayName: 'ThreadSelectionBar'
|
|
|
|
render: =>
|
|
<FluxContainer
|
|
stores={[ThreadListStore]}
|
|
getStateFromStores={ -> dataSource: ThreadListStore.dataSource() }>
|
|
<MultiselectActionBar
|
|
className="thread-list"
|
|
collection="thread" />
|
|
</FluxContainer>
|
|
|
|
module.exports = ThreadSelectionBar
|