panel.js 587 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * @author oldj
  3. * @blog http://oldj.net
  4. */
  5. 'use strict'
  6. import React from 'react'
  7. import Buttons from './buttons'
  8. import SearchBar from './searchbar'
  9. import List from './list'
  10. import './panel.less'
  11. export default class Panel extends React.Component {
  12. render () {
  13. let {current, list, sys, setCurrent, lang} = this.props
  14. return (
  15. <div id="panel">
  16. <List
  17. list={list}
  18. sys={sys}
  19. current={current}
  20. setCurrent={setCurrent}
  21. lang={lang}
  22. />
  23. <SearchBar/>
  24. <Buttons/>
  25. </div>
  26. )
  27. }
  28. }