@relax.dev/router
Version:
Router for VKUI
8 lines (7 loc) • 363 B
TypeScript
import { Location } from '../..';
import { RouterGenericBase } from '../entities/Types';
/**
* @param withUpdate
* @param {string} panelId id панели для которой надо получить Location
*/
export declare function useLocation<T extends RouterGenericBase = RouterGenericBase>(withUpdate?: boolean, panelId?: T['panelId']): Location<T>;