@happysanta/router
Version:
Router for VKUI
11 lines (10 loc) • 431 B
TypeScript
import { ComponentType } from 'react';
import { RouterProps } from './withRouter';
export interface ThrottlingRouterProps extends RouterProps {
onTransitionEnd: () => void;
}
/**
* Смотри описание {@link useThrottlingLocation}
* @param Component
*/
export declare function withThrottlingRouter<T extends ThrottlingRouterProps>(Component: ComponentType<T>): ComponentType<Omit<T, keyof ThrottlingRouterProps>>;