React = require 'react' {Actions} = require("nylas-exports") class AccountSidebarItem extends React.Component @displayName: "AccountSidebarItem" render: => className = "item " + if @props.select then " selected" else ""
{@props.item.displayName}
_onClick: (event) => event.preventDefault() Actions.selectView(@props.item.view) module.exports = AccountSidebarItem