import MainSidebar from './MainSidebar'
import UserPanel from './UserPanel'
import SearchForm from './SearchForm'
import Menu from './Menu'
import Item from './Item'

export default {
  MainSidebar,
  UserPanel,
  SearchForm,
  Menu,
  Item
}

import MainSidebar from './MainSidebar'
import UserPanel from './UserPanel'
import SearchForm from './SearchForm'
import Menu from './Menu'
import Item from './Item'

MainSidebar.UserPanel = UserPanel
MainSidebar.SearchForm = SearchForm
MainSidebar.Menu = Menu
MainSidebar.Item = Item

export default MainSidebar

Change the way of exports MainSidebar Component
Change the way of exports MainSidebar Component

For: https://github.com/falmar/react-adm-lte/issues/3
