@doreamonjs/gate
Version:
gate for doreamonjs
20 lines (19 loc) • 579 B
TypeScript
import React, { Component } from 'react';
import * as typings from '../../typings';
import './index.less';
export declare type Props = {
type?: 'tag' | 'breadcrumb';
nav?: typings.INav;
menus?: typings.IMenu[];
style?: React.CSSProperties;
onNavChange?(path: string): void;
onNavRefresh?(path: string): void;
onNavClose?(path: string): void;
onNavCloseOthers?(path: string): void;
onNavCloseAll?(): void;
onGoHome?(): void;
};
export default class NavBar extends Component<Props> {
private getTagNavProps;
render(): JSX.Element;
}