Improve sidebar
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import * as React from "react";
|
||||
|
||||
const DashboardSidebarContext = React.createContext(null);
|
||||
const DashboardSidebarContext = React.createContext<{
|
||||
onPageItemClick: () => void;
|
||||
mini: boolean;
|
||||
fullyExpanded: boolean;
|
||||
fullyCollapsed: boolean;
|
||||
hasDrawerTransitions: boolean;
|
||||
} | null>(null);
|
||||
|
||||
export default DashboardSidebarContext;
|
||||
|
||||
Reference in New Issue
Block a user