You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
830 B
26 lines
830 B
/// <reference types="react" />
|
|
import { BreadcrumbListReturn } from './utils/getBreadcrumbProps';
|
|
import { PureSettings } from './defaultSettings';
|
|
import { MenuDataItem } from './typings';
|
|
export interface RouteContextType extends Partial<PureSettings> {
|
|
breadcrumb?: BreadcrumbListReturn;
|
|
menuData?: MenuDataItem[];
|
|
isMobile?: boolean;
|
|
prefixCls?: string;
|
|
collapsed?: boolean;
|
|
hasSiderMenu?: boolean;
|
|
hasHeader?: boolean;
|
|
siderWidth?: number;
|
|
isChildrenLayout?: boolean;
|
|
hasFooterToolbar?: boolean;
|
|
hasFooter?: boolean;
|
|
setHasFooterToolbar?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
pageTitleInfo?: {
|
|
title: string;
|
|
id: string;
|
|
pageName: string;
|
|
};
|
|
}
|
|
declare const routeContext: React.Context<RouteContextType>;
|
|
export default routeContext;
|