React = require 'react' _ = require "underscore" {Flexbox} = require 'nylas-component-kit' classNames = require 'classnames' SettingsStore = require './settings-store' Tabs = require './tabs' class SettingsView extends React.Component @displayName: 'SettingsView' constructor: (@props) -> @state = @_getStateFromStores() render: => SettingsTabComponent = Tabs[@state.tabIndex].component