You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/react/sidebar/SidebarItem/index.ts

15 lines
387 B

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;