-
- {!this.canGoBack() ?
- toggleDrawerIcon :
-
- }
-
+interface AppBarPropsType {
+ toggleDrawerIcon: any;
+ iconElementRight: any;
+}
-
+function AppBarWitHistory(props: AppBarPropsType) {
+ const history = useHistory();
-
- {iconElementRight}
-
-
-