import { createContext } from 'react'; import { DirectionType } from '../config-provider'; export type MenuTheme = 'light' | 'dark'; export interface MenuContextProps { inlineCollapsed: boolean; antdMenuTheme?: MenuTheme; direction?: DirectionType; } const MenuContext = createContext({ inlineCollapsed: false, }); export default MenuContext;