office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
18 lines (17 loc) • 499 B
TypeScript
/// <reference types="react" />
import { BaseComponent } from '../../Utilities';
export interface IRouterProps {
/**
* Gets the component ref.
*/
componentRef?: () => void;
replaceState?: boolean;
children?: any;
onNewRouteLoaded?: () => void;
}
export declare class Router extends BaseComponent<IRouterProps, {}> {
componentDidMount(): void;
render(): JSX.Element | null;
private _getPath();
private _resolveRoute(path?, children?);
}