js

Do you want to use Sidebar.Item instead of SidebarItem?

import Siderbar from './sidebar';
import Item from './sidebar-item';

export default Object.assign(Sidebar, { Item });