rift-router
Version:
Blazing Fast and Lightweight router for React Based on state first.
9 lines (8 loc) • 339 B
TypeScript
import React, { PropsWithChildren } from 'react';
export declare const RiftContext: React.Context<any>;
declare type RiftProviderProps = PropsWithChildren<{
routes: any;
fallback?: any;
}>;
export declare const RiftProvider: React.MemoExoticComponent<({ children, routes, fallback }: RiftProviderProps) => JSX.Element>;
export {};