import React from 'react'
import PropTypes from 'prop-types'
import RTAppBar from 'react-toolbox/lib/app_bar'
import theme from './theme.scss'

class AppBar extends React.Component {
  render () {
    let props = {...this.props}
    return (
      <RTAppBar theme={theme} {...props}>
        {this.props.children}
      </RTAppBar>
    )
  }
}

AppBar.propTypes = {
  children: PropTypes.any
}

export default AppBar
