|
|
|
@ -1,4 +1,6 @@ |
|
|
|
/// <reference types="history" />
|
|
|
|
import * as React from 'react'; |
|
|
|
import { Location } from 'history'; |
|
|
|
export interface IPageHeaderProps { |
|
|
|
title?: React.ReactNode | string; |
|
|
|
logo?: React.ReactNode | string; |
|
|
|
@ -18,6 +20,9 @@ export interface IPageHeaderProps { |
|
|
|
home?: React.ReactNode; |
|
|
|
wide?: boolean; |
|
|
|
hiddenBreadcrumb?: boolean; |
|
|
|
location?: Location; |
|
|
|
itemRender: (menuItem: any) => React.ReactNode; |
|
|
|
breadcrumbNameMap?: any; |
|
|
|
} |
|
|
|
|
|
|
|
export default class PageHeader extends React.Component<IPageHeaderProps, any> {} |
|
|
|
|