UNPKG

@sofaws/dapp-core

Version:

A library to hold the main logic for a dapp on the Elrond Network

14 lines 359 B
import { RouteType } from 'types'; /** * Allow detecting authenticated routes with pattern parameters * @example * routes = [ * { path: "/users/:id", component: () => <></>, authenticatedRoute: true } ] */ export declare const matchRoute: (routes: RouteType[], pathname: string) => boolean; //# sourceMappingURL=matchRoute.d.ts.map