use react context to toggle collapsable repository menu

This commit is contained in:
Eduard Heimbuch
2020-02-26 10:41:39 +01:00
parent eee6cad1d3
commit 7232815900
6 changed files with 160 additions and 137 deletions

View File

@@ -10,7 +10,7 @@ type Props = {
label: string;
activeOnlyWhenExact?: boolean;
activeWhenMatch?: (route: any) => boolean;
collapsed: boolean;
collapsed?: boolean;
title?: string;
};