mirror of https://github.com/portainer/portainer
15 lines
387 B
TypeScript
15 lines
387 B
TypeScript
import { SidebarItem as MainComponent } from './SidebarItem';
|
|
import { Menu } from './Menu';
|
|
import { Wrapper } from './Wrapper';
|
|
|
|
interface SubComponents {
|
|
Menu: typeof Menu;
|
|
Wrapper: typeof Wrapper;
|
|
}
|
|
|
|
export const SidebarItem: typeof MainComponent & SubComponents =
|
|
MainComponent as typeof MainComponent & SubComponents;
|
|
|
|
SidebarItem.Menu = Menu;
|
|
SidebarItem.Wrapper = Wrapper;
|