1 | import React from 'react';
|
2 | import type { WithFalse } from '../../typing';
|
3 | import type { GlobalHeaderProps } from '../GlobalHeader';
|
4 | import type { PrivateSiderMenuProps } from '../SiderMenu/SiderMenu';
|
5 | export type HeaderViewProps = GlobalHeaderProps & {
|
6 | isMobile?: boolean;
|
7 | logo?: React.ReactNode;
|
8 | headerRender?: WithFalse<(props: HeaderViewProps, defaultDom: React.ReactNode) => React.ReactNode>;
|
9 | headerTitleRender?: WithFalse<(logo: React.ReactNode, title: React.ReactNode, props: HeaderViewProps) => React.ReactNode>;
|
10 | headerContentRender?: WithFalse<(props: HeaderViewProps, defaultDom: React.ReactNode) => React.ReactNode>;
|
11 | siderWidth?: number;
|
12 | hasSiderMenu?: boolean;
|
13 | };
|
14 | declare const DefaultHeader: React.FC<HeaderViewProps & PrivateSiderMenuProps>;
|
15 | export { DefaultHeader };
|