React = require 'react'
_ = require "underscore"
PackageSet = require './package-set'
PackagesStore = require './packages-store'
PluginsActions = require './plugins-actions'
{Spinner, EventedIFrame, Flexbox} = require 'nylas-component-kit'
classNames = require 'classnames'
class TabInstalled extends React.Component
@displayName: 'TabInstalled'
constructor: (@props) ->
@state = @_getStateFromStores()
render: =>
searchEmpty = null
if @state.search.length > 0
searchEmpty = "No matching packages."
if atom.inDevMode()
devPackages = @state.packages.dev
devEmpty =
You don't have any packages installed in ~/.nylas/dev/packages.
These packages are only loaded when you run the app with debug flags
enabled (via the Developer menu).
Learn more about building
packages at https://nylas.com/N1/docs
devCTA =