Commit e97c03e9 authored by Rayron Victor's avatar Rayron Victor Committed by 陈帅

fix wrong placed `getBreadcrumb` module declaration

parent 2ca4fc9a
import * as React from 'react';
import { IPageHeaderProps } from './index'
export default class BreadcrumbView extends React.Component<IPageHeaderProps, any> {}
export function getBreadcrumb(breadcrumbNameMap: Object, url: string): Object;
......@@ -20,6 +20,4 @@ export interface IPageHeaderProps {
hiddenBreadcrumb?:boolean;
}
export function getBreadcrumb(breadcrumbNameMap: Object, url: string): typeof Object;
export default class PageHeader extends React.Component<IPageHeaderProps, any> {}
import { getBreadcrumb } from './index';
import { getBreadcrumb } from './breadcrumb';
import { urlToList } from '../_utils/pathTools';
const routerData = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment