@saber2pr/router
Version:
> react-router-dom by hooks api.
16 lines (15 loc) • 465 B
TypeScript
import { push } from './push';
import { pushHash } from './pushHash';
import { subscribe } from './subscribe';
import { getHref } from './getHref';
import { History } from './type';
export * from './type';
export declare const hashHistory: History;
export declare const browserHistory: History;
declare const _default: {
push: typeof push;
pushHash: typeof pushHash;
subscribe: typeof subscribe;
getHref: typeof getHref;
};
export default _default;