portainer/app/react/sidebar/SidebarItem/index.ts

12 lines
310 B
TypeScript

import { SidebarItem as MainComponent } from './SidebarItem';
import { Wrapper } from './Wrapper';
interface SubComponents {
Wrapper: typeof Wrapper;
}
export const SidebarItem: typeof MainComponent & SubComponents =
MainComponent as typeof MainComponent & SubComponents;
SidebarItem.Wrapper = Wrapper;