export interface SidePanelTreeProps {
onItemActivation: (id: string) => void;
sidePanelProgress?: boolean;
+ isCollapsed?: boolean
}
type SidePanelTreeActionProps = Pick<TreePickerProps<ProjectResource | string>, 'onContextMenu' | 'toggleItemActive' | 'toggleItemOpen' | 'toggleItemSelection'>;
? FilterGroupIcon
: ProjectIcon;
-const getSidePanelIcon = (category: string) => {
+export const getSidePanelIcon = (category: string) => {
switch (category) {
case SidePanelTreeCategory.FAVORITES:
return FavoriteIcon;