UNPKG

@doreamonjs/gate

Version:
20 lines (19 loc) 579 B
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; }