estafette-router
Version:
Estafette Router helps you write React Routes faster, safer and more convenient.
16 lines (15 loc) • 349 B
TypeScript
import * as React from 'react';
declare type Params = {
[key: string]: any;
};
interface Props {
from?: string;
to?: string;
fromRoute?: string;
fromParams?: Params;
toRoute?: string;
toParams?: Params;
}
export declare const Redirect: React.FC<Props>;
declare const _default: {};
export default _default;